Returns whether the specified key is currently allowed to be used.
true if the action is allowed, false otherwise
the key to check