public Optional<ObjectNode> asObjectNode() {
        return Optional.empty();
    }
Gets the node as an ObjectNode if it is an object.

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