boolean (DomElement element) { final Module module = element.getModule(); if (module == null) return true; if (PsiUtil.isIdeaProject(module.getProject())) return true; final IdeaPlugin ideaPlugin = element.getParentOfType(IdeaPlugin.class, false); assert ideaPlugin != null; return PluginManagerCore.isDevelopedByJetBrains(ideaPlugin.getVendor().getValue()); }