@Override
    public boolean shouldParticipateInSso(final RegisteredService registeredService, final AuthenticationAwareTicket ticketState) {
        initializeWatchableScriptIfNeeded();
        return FunctionUtils.doIfNotNull(executableScript, () -> getGroovyScriptResult(registeredService, ticketState), () -> false).get();
    }
This is {@link GroovyRegisteredServiceSingleSignOnParticipationPolicy}.

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