docstr: 判断字符是否为控制字符
  Arg :
      char : 字符
  Return :
      bool : 判断结果
docstr_tok: ["\u5224\u65ad\u5b57\u7b26\u662f\u5426\u4e3a\u63a7\u5236\u5b57\u7b26","Arg",":","char",":","\u5b57\u7b26","Return",":","bool",":","\u5224\u65ad\u7ed3\u679c"]
code: def is_control(char):
      """
      判断字符是否为控制字符
      Arg :
          char : 字符
      Return :
          bool : 判断结果
      """
      # These are technically control characters but we count them as whitespace
      # characters.
      if char == "\t" or char == "\n" or char == "\r":
          return False
      cat = unicodedata.category(char)
      if cat.startswith("C"):
          return True
      return False
  
file_path: DeepKE/src/deepke/attribution_extraction/standard/tools/serializer.py
imports: import re
  import unicodedata
  import jieba
  import logging
  from typing import List
label_desc: Use image node_id 10 for calling the Serializer obj's underlying member method code with example usage: obj.is_control(char) and returns: False, False, True