code: def test_reduce_is_array():
      reduced_data_3d = reducer(data, ndims=3)
      assert isinstance(reduced_data_3d[0], np.ndarray)
  
imports: import numpy
  from hypertools.tools.reduce import reduce
  from hypertools.plot.plot import plot
label_desc: Use image node_id 2 for calling a global function with example usage: test_reduce_is_array() without return types