code: def all_synonyms(self, include_label=False):
          
          syns = []
          for n in self.nodes():
              syns = syns + self.synonyms(n, include_label=include_label)
          return syns
docs: Retrieves all synonyms
  
          Arguments
          ---------
          include_label : bool
              If True, include label/names as Synonym objects
  
          Returns
          -------
          list[Synonym]
              :class:`Synonym` objects