protected function isPlatformUIRequest(Request $request)
    {
        if (mb_stripos($request->attributes->get('_route'), 'netgen_tags_admin') !== 0) {
            return false;
        }

        if (!$request->headers->has('X-PJAX') || !$request->isXmlHttpRequest()) {
            return false;
        }

        return true;
    }