(self)
return False
Returns true if this is a "root" topic, false otherwise. A
        root topic is a topic whose name contains no dots and which
        has pub.ALL_TOPICS as parent.
Returns true if this is a "root" topic, false otherwise. A
        root topic is a topic whose name contains no dots and which
        has pub.ALL_TOPICS as parent.
Returns true if this is a root topic false otherwise . A root topic is a topic whose name contains no dots and which has pub . ALL_TOPICS as parent .
def isRoot(self) -> bool:
        """
        Returns true if this is a "root" topic, false otherwise. A
        root topic is a topic whose name contains no dots and which
        has pub.ALL_TOPICS as parent.
        """
        parent = self.getParent()
        if parent:
            return parent.isAll()
        assert self.isAll()
        return False
def isRoot ( self ) -> bool : parent = self . getParent ( ) if parent : return parent . isAll ( ) assert self . isAll ( ) return False