(self, name: str)
return True
Delete the named topic, including all sub-topics. Returns False
        if topic does not exist; True otherwise. Also unsubscribe any listeners
        of topic and all subtopics.
Delete the named topic, including all sub-topics. Returns False
        if topic does not exist; True otherwise. Also unsubscribe any listeners
        of topic and all subtopics.
Delete the named topic including all sub - topics . Returns False if topic does not exist ; True otherwise . Also unsubscribe any listeners of topic and all subtopics .
def delTopic(self, name: str) -> bool:
        """
        Delete the named topic, including all sub-topics. Returns False
        if topic does not exist; True otherwise. Also unsubscribe any listeners
        of topic and all subtopics.
        """
        # find from which parent the topic object should be removed
        dottedName = stringize(name)
        try:
            # obj = weakref( self._topicsMap[dottedName] )
            obj = self._topicsMap[dottedName]
        except KeyError:
            return False

        # assert obj().getName() == dottedName
        assert obj.getName() == dottedName
        # notification must be before deletion in case
        self.__treeConfig.notificationMgr.notifyDelTopic(dottedName)

        # obj()._undefineSelf_(self._topicsMap)
        obj._undefineSelf_(self._topicsMap)
        # assert obj() is None

        return True
def delTopic ( self , name : str ) -> bool : # find from which parent the topic object should be removed dottedName = stringize ( name ) try : # obj = weakref( self._topicsMap[dottedName] ) obj = self . _topicsMap [ dottedName ] except KeyError : return False # assert obj().getName() == dottedName assert obj . getName ( ) == dottedName # notification must be before deletion in case self . __treeConfig . notificationMgr . notifyDelTopic ( dottedName ) # obj()._undefineSelf_(self._topicsMap) obj . _undefineSelf_ ( self . _topicsMap ) # assert obj() is None return True