code: def check_deps():
      try:
          import grin
      except ImportError:
          print("perlpie requires grin to operate.")
          print("You can find grin in the python package index:")
          print("  http://pypi.python.org/pypi/grin/")
          return False
      # assume they have perl for now
      return True
  
imports: import subprocess
  from optparse import OptionParser
label_desc: Use image node_id 1 for calling a global function with example usage: check_deps() and returns: True, False