Check for valid hotkey