Checks if the given event triggers self.
the event to check
true if mnemonics should trigger. Usually the value of this property is determined by checking that the passed in event is a Key event and has the right modifiers set.
Whether the event triggered the shortcut
Checks if the given event triggers self.