code: def is_tensor(x: Tensor) -> bool:
      r"""
          Returns True if `x` is a Caer tensor.
  
          Note that this function is simply doing ``isinstance(x, Tensor)``. Using the ``isinstance`` check is better for typechecking with mypy, and more explicit - so it's recommended to use that instead of ``is_tensor``.
  
          For now, Caer Tensors are simply customized Numpy arrays.
  
      Args:
          x (Object): Object to test
      """
      return isinstance(x, Tensor) or "caer.Tensor" in str(type(x))
  
file_path: caer/caer/coreten/tensor.py
imports: import numpy
  from ..annotations import Union, Tuple, List
  from ._tensor_str import _str
  from ._tensor_base import _TensorBase
label_desc: Use image node_id 1 for calling a global function with example usage: is_tensor(x) and returns: unknown