code: def is_keras_tensor(obj):
      return hasattr(obj, "_keras_history")
  
file_path: keras/keras/ops/node.py
imports: import collections
  import tree
  from keras.backend import KerasTensor
  from keras.ops.symbolic_arguments import SymbolicArguments
label_desc: Use image node_id 1 for calling a global function with example usage: is_keras_tensor(obj) and returns: hasattr