code: def is_duplicate(cls, dataset, data):
      for d in dataset:
          if d == data:
              return True
      return False
  
imports: import string
  import re
  from typing import Iterable
  from nlpaug.util import Method
  from nlpaug.util.text.tokenizer import Tokenizer
  from nlpaug import Augmenter
  from nlpaug.util import WarningException, WarningName, WarningCode, WarningMessage
label_desc: Use image node_id 6 for calling the WordAugmenter obj's underlying member method code with example usage: obj.is_duplicate(cls, dataset, data) and returns: False, True