@Override
    public boolean shouldActivate(final RegisteredServiceAttributeReleasePolicyContext context) {
        initializeWatchableScriptIfNeeded();
        return FunctionUtils.doIfNotNull(executableScript, () -> getGroovyScriptResult(context), () -> 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