code: def has_synset(word: str) -> list:
       Returns a list of synsets of a word after lemmatization. """
  
      return wn.synsets(lemmatize(word, neverstem=True))
docs: Returns a list of synsets of a word after lemmatization.