code: def mappable(obj):
      """return whether an object is mappable or not."""
      if isinstance(obj, (tuple, list)):
          return True
      if is_array(obj):
          return True
      return False
  
file_path: ipyparallel/ipyparallel/client/map.py
imports: import sys
  from itertools import chain, islice
label_desc: Use image node_id 2 for calling a global function with example usage: mappable(obj) and returns: False, True, True