protected boolean isUsagePolicyAcceptedBy(final Map<String, List<Object>> attributes) {
        val core = aupProperties.getCore();

        if (attributes != null && attributes.containsKey(core.getAupAttributeName())) {
            val value = CollectionUtils.toCollection(attributes.get(core.getAupAttributeName()));
            LOGGER.debug("Evaluating attribute value [{}] found for [{}]", value, core.getAupAttributeName());
            return value.stream().anyMatch(v -> v.toString().equalsIgnoreCase(getAcceptedAttributeValue()));
        }

        if (core.isAupOmitIfAttributeMissing()) {
            LOGGER.trace("Value for [{}] is missing.", core.getAupAttributeName());
            return true;
        }

        return false;
    }
Is usage policy accepted by.

@param attributes the attributes
@return true/false
support/cas-server-support-aup-core/src/main/java/org/apereo/cas/aup/BaseAcceptableUsagePolicyRepository.java