Check to see if input is executed
Runs a program