def enabled(options, option):
    value = options[option]
    s = value.lower()
    if s in ('yes','true','1','y'):
        return True
    elif ('no', 'false', '0', 'n') in s:
        return False
    else:
        raise ValueError("Unknown value %s for option %s" % (value, option))
dataset/ETHPy150Open PyMySQL/mysqlclient-python/setup_common.py/enabled/swapped operands of `in`