Wraps an expression in an if statement that checks that the expression values to null.