@JsonIgnore
    public boolean isUndefined() {
        return StringUtils.isBlank(text) || StringUtils.isBlank(from) || StringUtils.isBlank(subject);
    }
Indicate whether email settings are defined.

@return true if undefined, false otherwise.
api/cas-server-core-api-configuration-model/src/main/java/org/apereo/cas/configuration/model/support/email/EmailProperties.java