code: def synonyms(self, nid, include_label=False):
          
          n = self.node(nid)
          syns = []
          if 'meta' in n:
              meta = n['meta']
              if 'synonyms' in meta:
                  for obj in meta['synonyms']:
                      syns.append(Synonym(nid, **obj))
          if include_label:
              syns.append(Synonym(nid, val=self.label(nid), pred='label'))
          return syns
docs: Retrieves synonym objects for a class
  
          Arguments
          ---------
          nid : str
              Node identifier for entity to be queried
          include_label : bool
              If True, include label/names as Synonym objects
  
          Returns
          -------
          list[Synonym]
              :class:`Synonym` objects