def is_elected(self, user):
        return self.elected.filter(pk=user.pk).exists()
Show globally pinned topics first, then regular pinned topics, then regular topics
dataset/ETHPy150Open OpenSlides/OpenSlides/openslides/assignments/models.py/Assignment.is_elected--crossover with--dataset/ETHPy150Open nitely/Spirit/spirit/category/tests.py/CategoryViewTest.test_category_detail_view_pinned