code: def program_installed(program, data):
      
      try:
          path = get_program(program, data)
      except CmdNotFound:
          return False
      return True
docs: returns True if the path to a program can be found