Check if the argument is a variable.