def contains(self, element):
        """
        Ensures :attr:`subject` contains *other*.
        """
        self._run(unittest_case.assertIn, (element, self._subject))
        return ChainInspector(self._subject)
def contains ( self , element ) : self . _run ( unittest_case . assertIn , ( element , self . _subject ) ) return ChainInspector ( self . _subject )
Ensures :attr:`subject` contains *other*.