when element is from a web page we can use often some CSS Property values to check the visibility status. e.g. display - none
For this we have released following package:
When element is from an application in some scenarios (JAVA Form Apps, SAP cases) we can refer to the relativeVisibility attribute.
Also in some cases not the element but some other elements above in the hierarchy are toggling the state. Nowadays obsolete but find an example here:
https://forum.uipath.com/t/howto-detecting-if-internet-explorer-download-bar-is-displayed-or-not/158768/4?u=ppr