code: def has_ghostscript():
      if gs_windows_binary:
          return True
      if not sys.platform.startswith("win"):
          import subprocess
  
          try:
              with open(os.devnull, "wb") as devnull:
                  subprocess.check_call(
                      ["gs", "--version"], stdout=devnull
                  )
              return True
          except OSError:
              # No Ghostscript
              pass
      return False
  
imports: import io
  import os
  import re
  import sys
  from .None import Image, ImageFile
  from ._binary import i32le
label_desc: Use image node_id 1 for calling a global function with example usage: has_ghostscript() and returns: False, True, True