(self, key)
Returns whether there are any items associated to the given
        `key`.
Returns whether there are any items associated to the given
        `key`.
Returns whether there are any items associated to the given key .
def __contains__(self, key):
        """Returns whether there are any items associated to the given
        `key`."""
        try:
            return len(self._dict[key]) > 0
        except KeyError:
            return False
def __contains__ ( self , key ) : try : return len ( self . _dict [ key ] ) > 0 except KeyError : return False