Set user event flag based on presence of DOMEvent.