WindowIsVisible ( win )

Returns true if the window is visible, otherwise it returns false.

Example: