Returns true if the keyCode should trigger the shortcut action.
keyCode
bool hasShortcutKeyCode(int keyCode);