def get_is_elected(self, obj):
        return obj.poll.assignment.is_elected(obj.candidate)
Returns the election status of the candidate of this option.
dataset/ETHPy150Open OpenSlides/OpenSlides/openslides/assignments/serializers.py/AssignmentOptionSerializer.get_is_elected