default boolean hasAttribute(final String name) {
        return hasAttribute(name, o -> true);
    }
Has attribute boolean.

@param name the name
@return true/false
api/cas-server-core-api-authentication/src/main/java/org/apereo/cas/authentication/AuthenticationBuilder.java