How to check the State of Application or web page in UiPath|UI Automation Next|UiPath

Regards,
Aditya