Given the variable is defined as a String you could check (post InputBox) both:

a) Val(variable)

b) variable = "False"

By the sounds of it either of the above should ever return True the response is not valid.