NameQ["string"] yields True if there are any symbols whose names match the string pattern given, and yields False otherwise.
You can test for classes of symbol names using string patterns with metacharacters such as *, as specified in Section A.3.13.
See Section 2.7.12.
See also: Names.
New in Version 1.