pub fn is_key_service_unavailable(err: &Error) -> bool
Returns true if err was caused by a failure to connect to or communicate with the keymint service.
err