device folded/minimised state: possible to observe through Live API?

discopatrick's icon

I'd like to disable some parts of my device, based on whether the device is fully visible, or folded into it's minimised state.

Is it possible to observe this through the Live API?