fireEvents looks like an array instead of boolean, a better name would be hasFireEvents or shouldFireEvents or something else that is more like a boolean value.