How can we verify the edit box is password type using appium?

I wanted to verify that the edit box that appearing in a Android page is password type or not?