def contains_some_of(self, elements):
        """
        Ensures :attr:`subject` contains at least one of *elements*, which must be an iterable.
        """
        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)
Ensures :attr:`subject` contains at least one of *elements*, which must be an iterable.