True when the native layer is over the app rather than the app being away.
bool lifecycleIsOverlay(String? lifecycle) => lifecycle == 'inactive';