

def __contains__(self, key):
    hash(key)
    try:
        return (key in self._engine)
    except TypeError:
        return False

dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py Index.__contains__/original