def no_freesurfer():
 if (Info.version() is None):
  return True
 else:
  return False

def no_freesurfer ( ) : if ( Info . version ( ) is None ) : return True else : return False
checks if freesurfer is not installed used with skipif to skip tests that will fail if freesurfer is not installed .