code: def is_iterable(obj):
      """Similar in nature to :func:`callable`, ``is_iterable`` returns
      ``True`` if an object is `iterable`_, ``False`` if not.
      >>> is_iterable([])
      True
      >>> is_iterable(object())
      False
  
      .. _iterable: https://docs.python.org/2/glossary.html#term-iterable
      """
      try:
          iter(obj)
      except TypeError:
          return False
      return True
  
imports: import os
  import math
  import time
  import codecs
  import random
  import socket
  import hashlib
  import itertools
  from collections import Mapping, Sequence, Set, ItemsView
label_desc: Use image node_id 1 for calling a global function with example usage: is_iterable(obj) and returns: True, False