boolean (DomElementsProblemsHolderImpl holder, final List<? extends DomElementsInspection<?>> suitableInspections) { for (final DomElementsInspection<?> inspection : suitableInspections) { if (!holder.isInspectionCompleted(inspection)) { return false; } } return true; }