def flag_is_set(flag, flags):
    """Checks if the flag is set
    
    Returns boolean"""
    if 0 > (flags & flag):
        return True
    return False
dataset/ETHPy150Open appnexus/schema-tool/schematool/mysql/connector/constants.py/flag_is_set/swapped operands of `>`