code: def is_jittor_module(model) -> bool:
      """
      判断传入的 ``model`` 是否是 :class:`jittor.Module` 类型。
  
      :param model:
      :return: 当前模型是否为 ``jittor`` 的模型
      """
      try:
          return isinstance(model, jt.Module)
      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 1 for calling a global function with example usage: is_jittor_module(model) and returns: isinstance, False