ask function returns False when answer is "no"

I think this is what you mean to do.