code: def is_cjk(char):
      char = ord(char)
      for bottom, top in cjk_ranges:
          if bottom <= char <= top:
              return True
      return False
  
file_path: TextAttack/textattack/transformations/word_swaps/chn_transformations/chinese_word_swap_masked.py
imports: from transformers import pipeline
  from .None import WordSwap
label_desc: Use image node_id 1 for calling a global function with example usage: is_cjk(char) and returns: False, True