code: def is_tensor(x):
      """Check whether the given object is a tensor.
  
      Note: This checks for backend specific tensors so passing a TensorFlow
      tensor would return `False` if your backend is PyTorch or JAX.
  
      Args:
          x: A variable.
  
      Returns:
          `True` if `x` is a tensor, otherwise `False`.
      """
      return backend.core.is_tensor(x)
  
imports: import numpy
  from keras import backend
  from keras.api_export import keras_export
  from keras.backend import KerasTensor
  from keras.backend import any_symbolic_tensors
  from keras.ops.operation import Operation
  from keras.utils import traceback_utils
label_desc: Use image node_id 15 for calling a global function with example usage: is_tensor(x) and returns: backend