    def is_running(self) -> bool:
        """Check whether the task process is still running.

        Returns
        -------
        bool
            Whether the task process is still running
        """
        return self._proc is not None
Check whether the task process is still running.

Returns
-------
bool
Whether the task process is still running
python/aitemplate/backend/task_runner.py