Window.isVisible

bool isVisible()

Checks whether the window has been mapped (with gdk.window.Window.show or gdk.window.Window.showUnraised).

Returns

true if the window is mapped