boolean (Collection<? extends InspectionConfigTreeNode.Tool> nodes) { final Project project = getProject(); for (final InspectionConfigTreeNode.Tool node : nodes) { final String toolId = node.getKey().toString(); if (myProfile.getTools(toolId, project).isEnabled()) { return true; } } return false; }