code: def is_array(obj):
      """Is an object a numpy array?
  
      Avoids importing numpy until it is requested
      """
      global numpy
      if "numpy" not in sys.modules:
          return False
  
      if numpy is None:
          import numpy
      return isinstance(obj, numpy.ndarray)
  
file_path: ipyparallel/ipyparallel/client/map.py
imports: import sys
  from itertools import chain, islice
label_desc: Use image node_id 1 for calling a global function with example usage: is_array(obj) and returns: isinstance, False