private function isRequestPrivate(Request $request): bool
    {
        if ($request->headers->has('Authorization')) {
            return true;
        }

        if (\count($request->cookies->all())) {
            return true;
        }

        return false;
    }