static boolean isResponseModeTypeQueryJwt(final OAuthRegisteredService registeredService,
                                              final OAuth20ResponseModeTypes responseType) {
        return responseType == OAuth20ResponseModeTypes.QUERY_JWT
               || (registeredService != null && StringUtils.equalsIgnoreCase(
            OAuth20ResponseModeTypes.QUERY_JWT.getType(), registeredService.getResponseMode()));
    }
Is response mode type query jwt?

@param registeredService the registered service
@param responseType      the response type
@return true/false
support/cas-server-support-oauth-api/src/main/java/org/apereo/cas/support/oauth/web/response/callback/OAuth20ResponseModeFactory.java