boolean needsSuppressWarnings(List<MessageType> msgTypes) {
        return msgTypes.stream().anyMatch(t -> t.accept(suppressWarningsVisitor, null));
    }
boolean needsSuppressWarnings ( List < MessageType > msgTypes ) { return msgTypes . stream ( ) . anyMatch ( t -> t . accept ( suppressWarningsVisitor , null ) ) ; }
See if any of the parsed types in the given list needs warning suppression.