Get validated attribute of TextField

Hi, I am testing an app where I have to enter a valid email, when the email is valid the TextField changes its look, it gets a green border and a green checkmark is next to it, I can’t find a way to automate this testcase, the devs told me there is an boolean attribute “validated” given as parameter. Can I access it somehow? I am using Appium and Java with TestNG.