@Override
    public boolean isDuplicate(Question obj) {
        for (Question q : questions) {
            if (q.equals(obj)) {
                return true;
            }
        }
        if (questions.size() >= limit) {
            questions.remove(0);
        }
        questions.add(obj);
        return false;
    }