public function hasAlive()
    {
        foreach ($this->processes as $pid => $process) {
            if ($process->isAlive()) {
                return true;
            }
        }

        return false;
    }