(self, key)
return key in self._mapping
Check if a key exists in this cache.
Check if a key exists in this cache.
Check if a key exists in this cache .
def __contains__(self, key):
        """Check if a key exists in this cache."""
        return key in self._mapping
def __contains__ ( self , key ) : return key in self . _mapping