Here is one way...
?format["%1",_variabletocheck] == " scalar bool array string 0xfcffffef": hint "This variable doesn't exist!"
Edit: If "_Variabletocheck" is undefined, the hint will display. You can take this line and check any variable just by replacing "_variabletocheck".