def _is_deprecated(key):
    """ Returns True if the given option has been deprecated """

    key = key.lower()
    return _deprecated_options in key
dataset/ETHPy150Open cloudera/ibis/ibis/config.py/_is_deprecated/swapped operands of `in`