code: def has_key(self, key):
          
          self.is_a(Mapping)
          self.contains(key)
          return KeyInspector(self._subject[key])
docs: Ensures :attr:`subject` is a :class:`collections.Mapping` and contains *key*.