def check_read_status(redis_db, filename):
    
    """Check whether or not a file has started being processed by checking 
    the file's status in Redis"""

    if redis_db.exists(filename) == 0:
        
        return "unread"
    
    else:
        
        return redis_db.hget(filename, "status")