I would just do `if (!eventData) {`