@Windspar:
you should implement special method
https://docs.python.org/3/reference/data...iner-types
you should implement special method
__contains__
to check membership, not __eq__
https://docs.python.org/3/reference/data...iner-types