code: def test_return_coords(
      self, arguments, image, _expected_data, _align_corners
  ):
      arguments["return_coords"] = True
      _, start_coord, end_coord = CropForeground(**arguments)(image)
      arguments["return_coords"] = False
      np.testing.assert_allclose(start_coord, np.asarray([1, 1]))
      np.testing.assert_allclose(end_coord, np.asarray([4, 4]))
  
file_path: MONAI/tests/test_crop_foreground.py
imports: from __future__ import annotations
  import unittest
  import numpy
  from parameterized import parameterized
  from monai.config import USE_COMPILED
  from monai.data.meta_tensor import MetaTensor
  from monai.transforms import CropForeground
  from monai.transforms.lazy.functional import apply_pending
  from tests.utils import TEST_NDARRAYS_ALL, assert_allclose
label_desc: Use image node_id 2 for calling the TestCropForeground obj's underlying member method code with example usage: obj.test_return_coords(arguments, image, _expected_data, _align_corners) without return types