Return true if a keypress was handled.