(self, name: str = None)
return name in self.__subTopics
Return true only if name is a subtopic of self. If name not
        specified, return true only if self has at least one subtopic.
Return true only if name is a subtopic of self. If name not
        specified, return true only if self has at least one subtopic.
Return true only if name is a subtopic of self . If name not specified return true only if self has at least one subtopic .
def hasSubtopic(self, name: str = None) -> bool:
        """
        Return true only if name is a subtopic of self. If name not
        specified, return true only if self has at least one subtopic.
        """
        if name is None:
            return len(self.__subTopics) > 0

        return name in self.__subTopics
def hasSubtopic ( self , name : str = None ) -> bool : if name is None : return len ( self . __subTopics ) > 0 return name in self . __subTopics