WindowIsMinimized ( win )
Returns true if the window is minimized, otherwise it will return false.
Example: