boolean (@NotNull PsiElement anchor) { final InspectionProfile profile = InspectionProfileManager.getInstance(anchor.getProject()).getCurrentProfile(); final InspectionToolWrapper tool = profile.getInspectionTool(getCompatibilityInspectionShortName(), anchor.getProject()); return tool != null && profile.isToolEnabled(HighlightDisplayKey.findById(tool.getID()), anchor); }