code: def read(self):
      try:
          wordnet.synsets("testing")
          return wordnet
      except LookupError:
          nltk.download("wordnet")
          nltk.download("omw-1.4")
          return wordnet
  
imports: from nlpaug.model.word_dict import WordDictionary
label_desc: Use image node_id 2 for calling the WordNet obj's underlying member method code with example usage: obj.read() and returns: wordnet, wordnet