pub fn process_lifetime_state() -> ProcessLifetimeState
Get the state of the current process instance.