We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

The __contains__ method

__contains__(self, item) => bool

Called to implement membership test operators (in and not in). Should return true if item is a member of self, false otherwise. For mapping objects, this should consider the keys of the mapping rather than the values or the key-item pairs.