protected function withPublishedOnly($published)
    {
        if ($published === false)
        {
            return false;
        }

        if ($this->tokenManager->requestHasToken('preview_nodes'))
        {
            return false;
        }

        return true;
    }