code: def is_jittor_tensor(dtype):
      if not isclass(dtype) and isinstance(
          dtype, jittor.jittor_core.Var
      ):
          return True
      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 1 for calling a global function with example usage: is_jittor_tensor(dtype) and returns: False, True