PyCWnd.IsWindowEnabled

int = IsWindowEnabled()

Determines if the window is currently enabled.