def is_worse_than(lhs, rhs):
 return (statuses.index(lhs) < statuses.index(rhs))

def is_worse_than ( lhs , rhs ) : return ( statuses . index ( lhs ) < statuses . index ( rhs ) )
compare two statuses and return a boolean indicating if the lhs status is worse than the rhs status .