code: def is_jittor_dataset(dataset) -> bool:
      """
      判断传入的 ``dataset`` 是否是 :class:`jittor.dataset.Dataset` 类型。
  
      :param dataset:
      :return: 当前 ``dataset`` 是否为 ``jittor`` 的数据集类型
      """
      try:
          if isinstance(dataset, jt.dataset.Dataset):
              return True
          else:
              return False
      except BaseException:
          return False
  
imports: from collections.abc import Mapping, Callable
  from functools import wraps
  from fastNLP.envs.imports import _NEED_IMPORT_JITTOR
  from fastNLP.core.dataset import Instance
label_desc: Use image node_id 2 for calling a global function with example usage: is_jittor_dataset(dataset) and returns: True, False, False