XModifierKeys Reference
is_capslock_pressed
is_capslock_pressed
()
Return true if caps lock is on.
Result
boolean