public Stream<R> visitConditions(List<Condition> conditions) {
        return conditions.stream().flatMap(condition -> condition.getFunction().accept(this));
    }
{@link Endpoint} visitor method.

@param conditions the conditions to visit.
@return a stream of values.
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/language/TraversingVisitor.java