`if (null !== $this->queryCountFunction) {` is a little cleaner since it actually 'is set (to `null`)', even though it is true that `isset` returns `false` here (which is just one of those things you are supposed to know about php...)