Checks that an expression is not null.