protected Boolean getGroovyScriptResult(final RegisteredServiceAttributeReleasePolicyContext context) {
        return FunctionUtils.doAndHandle(() -> {
            val args = CollectionUtils.wrap("context", context, "logger", LOGGER);
            executableScript.setBinding(args);
            return executableScript.execute(args.values().toArray(), Boolean.class);
        }, e -> Boolean.FALSE).get();
    }
This is {@link GroovyRegisteredServiceAttributeReleaseActivationCriteria}.

@author Misagh Moayyed
@since 7.1.0
core/cas-server-core-services-api/src/main/java/org/apereo/cas/services/GroovyRegisteredServiceAttributeReleaseActivationCriteria.java