pub fn leaving(mstore: &Store, def_id: &str) -> Option<Choice>
The route and model the agent has left but may still be running a turn on, if any.