>>> help(pd.Series([True, True]).__contains__)
Help on method __contains__ in module pandas.core.generic:
__contains__(key) method of pandas.core.series.Series instance
True if the key is in the info axis
>>> pd.Series([True, True])
0 True
1 True
dtype: bool
^
info axis