code: def has_keys(self, keys):
          
          self.is_a(Mapping)
          self.contains_all_of(keys)
          return ChainInspector(self._subject)
docs: Ensures :attr:`subject` is a :class:`collections.Mapping` and contains *keys*, which must be an iterable.