code: def has_ghostscript():
      if gs_windows_binary:
          return True
      if not sys.platform.startswith("win"):
          try:
              subprocess.check_call(
                  ["gs", "--version"], stdout=subprocess.DEVNULL
              )
              return True
          except OSError:
              # No Ghostscript
              pass
      return False
  
imports: import io
  import os
  import re
  import subprocess
  import sys
  import tempfile
  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