Checks if the expression if not None.