code: def _is_iterable(x):
      if isinstance(x, str):
          return False
      return hasattr(x, "__iter__")
  
imports: import numbers
  import numpy
  import six
  import chainer
label_desc: Use image node_id 1 for calling a global function with example usage: _is_iterable(x) and returns: hasattr, False