Replace is_null() with === / !== NULL

Exact same behavior, but faster. I also think it's more readable.