I'm not sure how I feel about this compared to an if statement.  It's clever, but I think `if (events) self.flush();` is clearer.  Though there are a bunch of these now throughout the code base.  Maybe we can come back later and clean them up?