How to check if question answer is correct?