public Optional<ArrayNode> asArrayNode() {
        return Optional.empty();
    }
Gets the node as an ArrayNode if it is an array.

@return Returns the optional array node.
smithy-model/src/main/java/software/amazon/smithy/model/node/Node.java