Check if passwordField content is hidden

Hi there!
Just wanted to ask if there is a handler or some method to check if a PasswordField is hiding the password (eg. whether the eye is open or closed / if the “reveal” button has been pressed).
JMIX version: 2.2.3

Thanks and best regards!
Ina