pub fn is_auth_expired(err: &Error) -> boolExpand description
True iff err (or any error in its cause chain) is an AuthExpired.
Centralised so the orchestrator and shell callers agree on what
“stale token” looks like — anywhere we want to decide “rerun OAuth?”
goes through here.