@Override
    public String toString() {
        List<String> scopeStrings = new ArrayList<>();
        for (ScopeLayer<T> layer : scope) {
            scopeStrings.add(layer.toString());
        }
        return "{" + String.join(", ", scopeStrings) + "}";
    }
Gets the first value in scope for the specified identifier.

@param name the identifier to retrieve a value for.
@return an optional of the value for the identifier, or empty otherwise.
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/language/evaluation/Scope.java