$trayicon.isVisible
Returns the state of the dock widget
Usage
$reguser.isVisible()
Description
Returns 1 if the dock widget is actually visible, and 0 otherwise.
See also
trayicon.show

Index, Functions