code: def any_symbolic_tensors(args=None, kwargs=None):
      args = args or ()
      kwargs = kwargs or {}
      for x in tree.flatten((args, kwargs)):
          if isinstance(x, KerasTensor):
              return True
      return False
  
imports: import tree
  from keras.api_export import keras_export
  from keras.utils.naming import auto_name
label_desc: Use image node_id 1 for calling a global function with example usage: any_symbolic_tensors(args, kwargs) and returns: False, True