code: def test_3d_fallback_cube_footprint(function):
      # 3x3x3 cube inside a 7x7x7 image:
      image = np.zeros((7, 7, 7), bool)
      image[2:-2, 2:-2, 2:-2] = 1
  
      cube = np.ones((3, 3, 3), dtype=np.uint8)
  
      new_image = function(image, cube)
      assert_array_equal(new_image, image)
  
imports: import numpy
  import pytest
  from numpy.testing import assert_array_equal, assert_equal
  from scipy import ndimage
  from skimage import data, color, morphology
  from skimage.util import img_as_bool
  from skimage.morphology import binary, footprints, gray
label_desc: Use image node_id 21 for calling a global function with example usage: test_3d_fallback_cube_footprint(function) without return types