code: def no_freesurfer():
      """Checks if FreeSurfer is NOT installed
      used with skipif to skip tests that will
      fail if FreeSurfer is not installed"""
  
      if Info.version() is None:
          return True
      else:
          return False
  
imports: import os
  from looseversion import LooseVersion
  from ...utils.filemanip import fname_presuffix
  from ..base import CommandLine, Directory, CommandLineInputSpec, isdefined, traits, TraitedSpec, File, PackageInfo
label_desc: Use image node_id 1 for calling a global function with example usage: no_freesurfer() and returns: True, False