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

    return wn.synsets(lemmatize(word, neverstem=True))