Checks if there is a device state override active
to determine if the device should be put to sleep or not

This allows the device to stay awake regardless of the state
it is transitioning to, provided it is an overridden state.
An override request is triggered by user action or a cts test,
so it provides a better user experience to stay awake during
this transition.

Bug: 216580217
Test: Manual & LogicalDisplayMapperTest
Change-Id: I36959310d8e6c9b5e4e1e4093d17cad7d4f6238e
3 files changed