Can a pointer be null and if so can it be tested for?

I believe that conformant compilers are supposed to accept:

if (ptr)

... as a valid test for a non-null pointer, regardless of the internal representation of pointers.