check if answer is defined.