Detecting modifiers

Hi.

Is it possible to detect the command modifier before pressing another key.

For example, when pressing Command + ‘A’ , can I detect the Command modifier before the ‘A’ key was pressed?

Thanks

Component::modifierKeysChanged() ?

Thank you Jules.