code: def no_spm():
      """Checks if SPM is NOT installed
      used with pytest.mark.skipif decorator to skip tests
      that will fail if spm is not installed"""
  
      if "NIPYPE_NO_MATLAB" in os.environ or Info.version() is None:
          return True
      else:
          return False
  
imports: import os
  from copy import deepcopy
  from nibabel import load
  import numpy
  from ...None import logging
  from ...utils import spm_docs
  from ..base import BaseInterface, traits, isdefined, InputMultiPath, BaseInterfaceInputSpec, Directory, Undefined, ImageFile, PackageInfo
  from ..base.traits_extension import NoDefaultSpecified
  from ..matlab import MatlabCommand
  from ...external.due import due, Doi, BibTeX
label_desc: Use image node_id 5 for calling a global function with example usage: no_spm() and returns: True, False