public static Scope<Value> fromNode(Node node) {
        ObjectNode objectNode = node.expectObjectNode("scope must be loaded from object node");
        Scope<Value> scope = new Scope<>();
        for (Map.Entry<String, Node> entry : objectNode.getStringMap().entrySet()) {
            scope.insert(entry.getKey(), Value.fromNode(entry.getValue()));
        }
        return scope;
    }
Creates a {@link Scope} instance from the given Node information.

@param node the node to deserialize.
@return the created Scope.
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/language/evaluation/Scope.java