code: def every_nd(fn, arr):
      """Returns bool, true if fn is true for all elements of arr
  
      Parameters
      ----------
      arr: numpy.ndarray
  
      Returns
      -------
      bool
  
      """
      return all(map(fn, arr.flatten()))
  
label_desc: Use image node_id 3 for calling a global function with example usage: every_nd(fn, arr) and returns: all