public <N extends Node, T> ObjectNode getArrayMember(String k, Function<N, T> map, Consumer<List<T>> consumer) {
        getArrayMember(k).ifPresent(array -> consumer.accept(array.getElementsAs(map)));
        return this;
    }
The same as {@link #expectArrayMember(String, Function, Consumer)}, but the member is optional.

@param k Key to retrieve.
@param map Mapper that takes each array node and returns a mapped value.
@param consumer Consumer that accepts the collected mapped values.
@param <N> Type of Node to expect in each array element.
@param <T> Type of value returned from the mapper.
@return Returns the node.
smithy-model/src/main/java/software/amazon/smithy/model/node/ObjectNode.java