code: def contains_some_of(self, elements):
          
          if all(e not in self._subject for e in elements):
              raise self._error_factory(_format("Expected {} to have some of {}", self._subject, elements))
          return ChainInspector(self._subject)
docs: Ensures :attr:`subject` contains at least one of *elements*, which must be an iterable.