NAME? reports TRUE if the input is a name of a variable; otherwise; it reports FALSE.
See also LIST?, NUMBER?, and WORD?.