is.language returns TRUE if x is either a variable name or an expression.
is.language
TRUE
x
is.language(x)