protected boolean requestContainsEventToUpdate(FacesContext context, List<String> events) {
        String update = context.getExternalContext().getRequestParameterMap().get(Constants.RequestParams.PARTIAL_UPDATE_PARAM);

        // empty update param == no event/observer will be updated this request -> skip
        if (LangUtils.isBlank(update)) {
            return false;
        }

        // if observers are defined on p:autoUpdate, at least one of the events must be updated in the current request
        for (String event : events) {
            if (update.contains("@obs(" + event + ")")) {
                return true;
            }
        }

        return false;
    }
Checks if the current request contains one of the events to update.

@param context the {@link FacesContext}
@param events the events to be checked
@return if it contains one of the events.
primefaces/src/main/java/org/primefaces/component/autoupdate/AutoUpdatePhaseListener.java