def get_has_votes(self, obj):
        return obj.has_votes()
Returns True if this poll has some votes.
dataset/ETHPy150Open OpenSlides/OpenSlides/openslides/assignments/serializers.py/AssignmentAllPollSerializer.get_has_votes