protected function outputNotBeingCaptured()
    {
        if (is_null($this->output)) {
            return true;
        }

        if (is_callable([$this, 'getDefaultOutput'])) {
            return $this->output === $this->getDefaultOutput();
        }

        return in_array($this->output, ['NUL', '/dev/null']);
    }