pub fn is_escaped(controls: &Controls, policy: PolicyId) -> boolExpand description
What: Whether a policy is skipped for this invocation. Why: The engine asks by typed identity instead of scanning the list itself.
In TS you’d write (pseudocode):
const escaped = controls.escaped.includes(policy);