def test_is_form_submitted_method(self):
        request = RequestFactory().get('/fake', {"foo": "bar"})
        view = setup_view(views.FilteredListView(), request)
        assert view.is_form_submitted() is True

        request = RequestFactory().post('/fake', {"foo": "bar"})
        view = setup_view(views.FilteredListView(), request)
        assert view.is_form_submitted() is False
Is form submitted return True when the request method is GET.
dataset/ETHPy150Open peopledoc/django-generic-filters/django_genericfilters/tests/views.py/FilteredViewTestCase.test_is_form_submitted_method