def __contains__(self, key):
key_type = str(type(key))<EOL>if key_type in self.__dict__:<EOL><INDENT>if key in self.__dict__[key_type]:<EOL><INDENT>return True<EOL><DEDENT><DEDENT>return False<EOL>
Returns True if this object contains an item referenced by the key.