<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def program_installed(program, data):
 """ returns True if the path to a program can be found """

    try:
        path = get_program(program, data)
    except CmdNotFound:
        return False
    return True