code: def test_map_overlap_rechunks_array_along_multiple_dims_if_needed():
      # https://github.com/dask/dask/issues/6688
      rand = da.random.default_rng().random(
          (860, 1024, 1024), chunks=(1, 1024, 1024)
      )
      filtered = rand.map_overlap(
          lambda arr: arr,
          depth=(2, 2, 2),
          boundary="reflect",
      )
      assert all(
          all(c >= 2 for c in chunks) for chunks in filtered.chunks
      )
  
imports: from __future__ import annotations
  import pytest
  import numpy
  from numpy.testing import assert_array_almost_equal, assert_array_equal
  import dask.array
  from dask.array.lib.stride_tricks import sliding_window_view
  from dask.array.overlap import boundaries, constant, ensure_minimum_chunksize, nearest, overlap, overlap_internal, periodic, reflect, trim_internal
  from dask.array.utils import assert_eq, same_keys
label_desc: Use image node_id 38 for calling a global function with example usage: test_map_overlap_rechunks_array_along_multiple_dims_if_needed() without return types