@shadyvb for sanity sake, could you switch this to check if `empty()`? Just thinking of the case where it could be `null` or `false`, which may be `==` nonetheless, but not `===`.