"""ASR flow helpers extracted from the duplex pipeline. This module is intentionally lightweight for phase-wise migration. """ from __future__ import annotations from providers.common.base import ASRResult def is_final_result(result: ASRResult) -> bool: """Return whether an ASR result is final.""" return bool(result.is_final)