Added a method to check if a question is numeric