Checks if the expression is None.