code: def test_mni152template_is_reordered():
      """See issue #2550."""
      reordered_mni = reorder_img(load_mni152_template(resolution=2))
      assert np.allclose(
          get_data(reordered_mni), get_data(MNI152TEMPLATE)
      )
      assert np.allclose(reordered_mni.affine, MNI152TEMPLATE.affine)
      assert np.allclose(reordered_mni.shape, MNI152TEMPLATE.shape)
  
imports: import matplotlib.pyplot
  import numpy
  import pytest
  from nibabel import Nifti1Image
  from nilearn.conftest import _affine_mni
  from nilearn.datasets import load_mni152_template
  from nilearn.image import get_data, reorder_img
  from nilearn.plotting import plot_anat, plot_carpet, plot_epi, plot_glass_brain, plot_img, plot_prob_atlas, plot_roi, plot_stat_map
  from nilearn.plotting.img_plotting import MNI152TEMPLATE
label_desc: Use image node_id 2 for calling a global function with example usage: test_mni152template_is_reordered() without return types