code: def no_afni():
      """Check whether AFNI is not available."""
      if Info.version() is None:
          return True
      return False
  
imports: import os
  from sys import platform
  import shutil
  from looseversion import LooseVersion
  from ...None import logging
  from ...utils.filemanip import split_filename, fname_presuffix
  from ..base import CommandLine, traits, CommandLineInputSpec, isdefined, File, TraitedSpec, PackageInfo
  from ...external.due import BibTeX
label_desc: Use image node_id 1 for calling a global function with example usage: no_afni() and returns: False, True