public boolean isTicketRegistry() {
        return this == TICKET_REGISTRY;
    }
Is ticket registry?.

@return true/false
api/cas-server-core-api-configuration-model/src/main/java/org/apereo/cas/configuration/model/core/web/session/SessionStorageTypes.java