perf: Change and simplify ctx::is_active semantics