code: def _is_iterable(o):
      try:
          _ = iter(o)
      except Exception:
          return False
      return True
  
file_path: gpt-2-simple/gpt_2_simple/src/memory_saving_gradients.py
imports: from toposort import toposort
  import contextlib
  import numpy
  import tensorflow
  import time
  import sys
  from tensorflow.python.ops import gradients
label_desc: Use image node_id 10 for calling a global function with example usage: _is_iterable(o) and returns: True, False