def _is_started(self) -> bool:
        """Whether actively capturing -- not disabled or closed."""
        if self._capture is not None:
            return self._capture.is_started()
        return False
Whether actively capturing -- not disabled or closed.
src/_pytest/capture.py