cf.Index.__contains__

Index.__contains__(value)[source]

Called to implement membership test operators.

x.__contains__(y) <==> y in x