@JsonIgnore
    public boolean isDefined() {
        return StringUtils.isNotBlank(code) || StringUtils.isNotBlank(defaultText);
    }
Indicate if policy terms are defined.

@return true/false
support/cas-server-support-aup-core/src/main/java/org/apereo/cas/aup/AcceptableUsagePolicyTerms.java