code: def test_empty_peak_local_max():
      image = np.zeros((10, 20))
      result = peak_local_max(image, min_distance=1, threshold_rel=0)
      assert np.all(~result)
  
file_path: nilearn/nilearn/_utils/tests/test_ndimage.py
imports: import numpy
  import pytest
  from nilearn._utils import data_gen
  from nilearn._utils.ndimage import largest_connected_component, peak_local_max
label_desc: Use image node_id 2 for calling a global function with example usage: test_empty_peak_local_max() without return types