Checks if the expression is a variable.
is_variable returns TRUE if the expression is a variable and FALSE if it is not.