public boolean hasSurrogateUsername() {
        return StringUtils.isNotBlank(this.surrogateUsername);
    }
Has surrogate username?.

@return true/false
support/cas-server-support-surrogate-api/src/main/java/org/apereo/cas/authentication/surrogate/SurrogateAuthenticationRequest.java