check to see if a handle is available after each key press