public static boolean isQueryStringParameter(final WebContext context, final String name) {
        val queryString = context.getQueryString();
        return queryString.filter(s -> context.getRequestParameter(name).isPresent() && s.contains(name + '=')).isPresent();
    }
Checks whether this parameter is part of the query string.

@param context the web context
@param name the parameter name
@return whether this parameter is part of the query string
pac4j-core/src/main/java/org/pac4j/core/context/WebContextHelper.java