code: def is_tensor(tensor_type):
      if tensor_type is None:
          return False
      try:
          type_info = get_type_info(tensor_type).name
      except TypeError:
          return False
      return type_info == "tensor"
  
imports: from .type_bool import bool
  from .type_double import is_float, fp16, fp32, fp64
  from .type_list import is_list
  from .type_int import is_int, int8, int16, int32, int64, uint8, uint16, uint32, uint64
  from .type_str import str
  from .type_unknown import unknown
  import numpy
  import sympy
  import six
  from .get_type_info import get_type_info
label_desc: Use image node_id 8 for calling a global function with example usage: is_tensor(tensor_type) and returns: unknown, False, False