def METHOD_NAME(a, b, cond):
    if cond == 'equal':
        if a != b:
            return False
        return True
    if cond == 'greater_than':
        if a <= b:
            return False
        return True
    if cond == 'greater_equal':
        if a < b:
            return False
        return True
    if cond == 'less_equal':
        if a > b:
            return False
        return True
    if cond == 'less_than':
        if a >= b:
            return False
        return True