I'd rather test for null only, eg." === null " or "!is_null(...)" here, this would not change any of possible use cases (which we are not able to enumerate now).