How to check whether Edit Control is focused or not in IOS

Hello guys.
I want to check whether certain edit control is in focus or not in IOS.
We get focused property for android.widget.EditText on Android.But no such property is available for UIATextField on IOS.

Please suggest me the ways to accomplish this.

Thanks and Regards,

Has anyone got any update on this?

I think XCUITEST got a property hasKeyboardFocus, not sure why it is not included in the WDA.