def check_page(
            self, page, number, is_first, is_last, is_current, label=None):
        if label is None:
            label = utils.text(page.number)
        self.assertEqual(label, page.label)
        self.assertEqual(number, page.number)
        self.assertEqual(is_first, page.is_first)
        self.assertEqual(is_last, page.is_last)
        self.assertEqual(is_current, page.is_current)
Perform several assertions on the given page attrs.
dataset/ETHPy150Open frankban/django-endless-pagination/endless_pagination/tests/test_models.py/PageListTest.check_page