code: def is_jittor_dtype_str(dtype):
      """
      判断数据类型是否为 jittor 使用的字符串类型
  
      :param: dtype 数据类型
      """
      try:
          if isinstance(dtype, str) and dtype in {
              "bool",
              "float16",
              "uint16",
              "float32",
              "float64",
              "int8",
              "int16",
              "int32",
              "int64",
              "uint8",
              "complex64",
              "complex128",
              "bool",
              "float16",
              "uint16",
              "float32",
              "float64",
              "int8",
              "int16",
              "int32",
              "int64",
              "uint8",
          }:
              return True
      except:
          pass
      return False
  
imports: from inspect import isclass
  import numpy
  from fastNLP.envs.imports import _NEED_IMPORT_JITTOR
  from .padder import Padder
  from .utils import is_number_or_numpy_number, is_number, is_numpy_number_dtype, get_shape, is_numpy_generic_class
  from .exceptions import *
label_desc: Use image node_id 2 for calling a global function with example usage: is_jittor_dtype_str(dtype) and returns: False, True