(self, elem)
Return True if ``elem`` is an element of this module.
Return True if ``elem`` is an element of this module.
Return True if elem is an element of this module .
def contains(self, elem):
        """Return True if ``elem`` is an element of this module."""
        try:
            self.convert(elem)
            return True
        except CoercionFailed:
            return False
def contains ( self , elem ) : try : self . convert ( elem ) return True except CoercionFailed : return False