(self, name: str)
return self.getTopic(name, okIfNone=True) is not None
Determine if topic 'name' is in use. True if a Topic object exists
        for topic name (i.e. message has already been sent for that topic, or a
        least one listener subscribed), false otherwise. Note: a topic may be in use
        but not have a definition (MDS and docstring); or a topic may have a
        definition, but not be in use.
Determine if topic 'name' is in use. True if a Topic object exists
        for topic name (i.e. message has already been sent for that topic, or a
        least one listener subscribed), false otherwise. Note: a topic may be in use
        but not have a definition (MDS and docstring); or a topic may have a
        definition, but not be in use.
Determine if topic name is in use . True if a Topic object exists for topic name ( i . e . message has already been sent for that topic or a least one listener subscribed ) false otherwise . Note : a topic may be in use but not have a definition ( MDS and docstring ) ; or a topic may have a definition but not be in use .
def isTopicInUse(self, name: str) -> bool:
        """
        Determine if topic 'name' is in use. True if a Topic object exists
        for topic name (i.e. message has already been sent for that topic, or a
        least one listener subscribed), false otherwise. Note: a topic may be in use
        but not have a definition (MDS and docstring); or a topic may have a
        definition, but not be in use.
        """
        return self.getTopic(name, okIfNone=True) is not None
def isTopicInUse ( self , name : str ) -> bool : return self . getTopic ( name , okIfNone = True ) is not None