fn is_refusal(answer: &Value) -> bool
Whether the window’s answer is a refusal ({ ok: false, error, ... }).
{ ok: false, error, ... }