code: def find_mni_template():
      """Try to find an MNI template on the disk."""
      from nipy.utils import DataError, templates
  
      try:
          filename = templates.get_filename(
              "ICBM152", "1mm", "T1_brain.nii.gz"
          )
          if os.path.exists(filename):
              return filename
      except DataError:
          pass
      possible_paths = [
          (
              "",
              "usr",
              "share",
              "fsl",
              "data",
              "standard",
              "avg152T1_brain.nii.gz",
          ),
          (
              "",
              "usr",
              "share",
              "data",
              "fsl-mni152-templates",
              "avg152T1_brain.nii.gz",
          ),
          (
              "",
              "usr",
              "local",
              "share",
              "fsl",
              "data",
              "standard",
              "avg152T1_brain.nii.gz",
          ),
      ]
      if "FSLDIR" in os.environ:
          fsl_path = os.environ["FSLDIR"].split(os.sep)
          fsl_path.extend(("data", "standard", "avg152T1_brain.nii.gz"))
          possible_paths.append(fsl_path)
      for path in possible_paths:
          filename = os.sep.join(path)
          if os.path.exists(filename):
              return filename
  
file_path: nipy/nipy/labs/viz_tools/anat_cache.py
imports: import os
  import numpy
  from nibabel import load
  from scipy import ndimage
  from nipy.io.nibcompat import get_affine
label_desc: Use image node_id 1 for calling a global function with example usage: find_mni_template() and returns: filename, filename