code: def test_mode(self):
      self.assertTrue(
          swap_ins.mode
          in ["random", "replace", "swap", "insert", "delete"]
      )
  
file_path: textflint/test/generation/transformation/NER/test_ent_typos.py
imports: import unittest
  import editdistance
  from textflint.input.component.sample.ner_sample import NERSample
  from textflint.generation.transformation.NER.ent_typos import EntTypos
  from textflint.common.utils.word_op import *
label_desc: Use image node_id 1 for calling the TestSpecialEntityTyposSwap obj's underlying member method code with example usage: obj.test_mode() without return types