How about using `operator !` instead of `!= NULL`?