PyCWnd.IsIconic

int = IsIconic()

Determines if the window is currently displayed as an icon.