private function hasExceededTimeout(): bool
    {
        return -1 !== $this->timeout && (microtime(true) - $this->startTime) * 1000000 > $this->timeout;
    }
private function hasExceededTimeout(): bool
    {
        return -1 !== $this->timeout && (microtime(true) - $this->startTime) * 1000000 > $this->timeout;
    }
Returns true if the process has been running for longer than the specified timeout.