public boolean hasContactInformation() {
        return StringUtils.isNotBlank(getPhone()) || StringUtils.isNotBlank(getEmail());
    }
Has contact information.

@return true or false
support/cas-server-support-passwordless-api/src/main/java/org/apereo/cas/api/PasswordlessUserAccount.java