public boolean isCorrect(Object userAnswer) {
		ArrayList<String> userAnswers = (ArrayList<String>)userAnswer;
		int correctAnswers = 0;
		for (Boolean b : answer.values()) {
			if(b)
				correctAnswers++;
		}
		if(userAnswers.size() != correctAnswers) {
			return false;
		}
		for (int i = 0; i < userAnswers.size(); i++) {
			if(!answer.get(userAnswers.get(i))) {
				return false;
			}
		}
		return true;
	}