def METHOD_NAME(token_hash, module):
    try:
        return VotingToken.objects.get(token_hash=token_hash, module=module)
    except (VotingToken.DoesNotExist, VotingToken.MultipleObjectsReturned):
        return None