class_docstr: TensorLike metaclass that defines dunder methods for the ``isinstance`` and ``issubclass``
  checks.
  
  .. note:: These special dunder methods can only be defined inside a metaclass.
class_docstr_tok: ["TensorLike","metaclass","that","defines","dunder","methods","for","the","``","isinstance","``","and","``","issubclass","``","checks",".","..","note",":",":","These","special","dunder","methods","can","only","be","defined","inside","a","metaclass","."]
docstr: Dunder method used to check if an object is a `TensorLike` instance.
docstr_tok: ["Dunder","method","used","to","check","if","an","object","is","a","`","TensorLike","`","instance","."]
code: def __instancecheck__(cls, other):
      """Dunder method used to check if an object is a `TensorLike` instance."""
      return (
          isinstance(
              other, _TensorLike.__args__
          )  # TODO: Remove __args__ when python>=3.10
          or _is_jax(other)
          or _is_torch(other)
          or _is_tensorflow(other)
      )
  
file_path: pennylane/pennylane/typing.py
imports: import contextlib
  import sys
  from typing import Union, TypeVar, Tuple
  import numpy
  from autograd.numpy.numpy_boxes import ArrayBox
label_desc: Use image node_id 1 for calling the TensorLikeMETA obj's underlying member method code with example usage: obj.__instancecheck__(cls, other) and returns: unknown