code: def freeze(self, freeze: bool = True):
          
          for topic in self._topics.values():
              topic.freeze()
          self._frozen = freeze
docs: Freezing the hub means that each topic has to be assigned and no
          new topics can be created after this point.