boolean (Collection<? extends InspectionConfigTreeNode.Tool> nodes) { final Project project = getProject(); return !ContainerUtil.exists(nodes, node -> { final InspectionToolWrapper tool = myProfile.getToolDefaultState(node.getKey().toString(), project).getTool(); return tool instanceof GlobalInspectionToolWrapper && ((GlobalInspectionToolWrapper)tool).getSharedLocalInspectionToolWrapper() == null; }); }