fn macos_session(seconds: f64, locked: bool) -> SessionExpand description
The session as macOS says it: the seconds since its last input
(CGEventSourceSecondsSinceLastEventType; none from a value that is no
time), and whether its screen is locked.