code: def is_iterable(obj):
      """Return true if the object is iterable."""
      if isinstance(obj, tensor_lib.Tensor):
          return False
      try:
          _ = iter(obj)
      except Exception:  # pylint: disable=broad-except
          return False
      return True
  
imports: from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor
  from tensorflow.python.util import object_identity
label_desc: Use image node_id 2 for calling a global function with example usage: is_iterable(obj) and returns: True, False, False