def create(self, *args, **kwargs):
        transaction = Transaction.objects.create(**self.validated_data)
        transaction.recipient.balance += transaction.amount
        transaction.recipient.save()
        if ['paypal_external', 'paypal_deposit'] not in transaction.sender.type:
            transaction.sender.balance -= transaction.amount
            transaction.sender.save()
        return transaction
dataset/ETHPy150Open crowdresearch/crowdsource-platform/crowdsourcing/serializers/payment.py/TransactionSerializer.create/swapped operands of `not in`