add method to check if a quiz is complete