Check if a key is pressed.
Key to check
true if the key is pressed, false otherwise.
See Implementation
Check if a key is pressed.