FieldList.
__contains__
Called to implement membership test operators.
x.__contains__(y) <==> y in x
Each field in the field list is compared with the field’s equals method, as opposed to the == operator.
equals
==
Note that y in fl is equivalent to any(f.equals(y) for f in fl).
y in fl
any(f.equals(y) for f in fl)