@classmethod
    def has_voted(cls, card, user):
        return cls.get_vote(card, user) is not None
Return if a user has voted for a given card
dataset/ETHPy150Open Net-ng/kansha/kansha/card_addons/vote/models.py/DataVote.has_voted