@Override
    public boolean isConsentRequired(final Service service, final RegisteredService registeredService,
                                     final Authentication authentication,
                                     final HttpServletRequest requestContext) throws Throwable {
        val args = new Object[]{consentEngine, casProperties, service,
            registeredService, authentication, requestContext, LOGGER};
        return watchableScript.execute(args, Boolean.class);
    }
This is {@link GroovyConsentActivationStrategy}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-consent-core/src/main/java/org/apereo/cas/consent/GroovyConsentActivationStrategy.java