Не получается добавить проверку

Помогите, пожалуйста, правильно сделать проверку на наличие контента на странице. То есть если в базе нету вопросов, то форма не должна отображаться на странице pic VIEW

def quiz(requests):
    AnswerFormset = formset_factory(AnswerForm, max_num=3, min_num=3)
    if requests.method == "GET":

        questions = Question.objects.order_by('?')[:3]
        formset = AnswerFormset(initial=[{'question': question} for question in questions])

    else:
        formset = AnswerFormset(requests.POST)
        if formset.is_valid():
            correct, incorrect = 0, 0
            for data in formset.cleaned_data:
                if data['question'].is_true == data['answer']:
                    correct += 1
                else:
                    incorrect += 1
            return render(requests, 'quiz/result.html', {'correct': correct, 'incorrect': incorrect})

    return render(requests, 'quiz/list_quiz.html', {'formset': formset})

FORM

class AnswerForm(forms.Form):
    question = forms.ModelChoiceField(queryset=Question.objects.all(), required=True, widget=forms.HiddenInput)
    answer = forms.TypedChoiceField(choices=[(True, 'True'), (False, 'False')], widget=forms.RadioSelect,
                                    coerce=lambda x: x == 'True', )

    def __init__(self, *args, **kwargs):
        super(AnswerForm, self).__init__(*args, **kwargs)
        if 'question' in self.initial:  # hack
            self.question_text = self.initial['question'].question

    def clean_question(self):
        data = self.cleaned_data['question']
        self.question_text = data.question  # hack
        return data
Вернуться на верх