def to_representation(self, instance):
        result = super(UserSerializer, self).to_representation(instance)
        if (HAS_SOCIAL_AUTH and result in 'social_auth'):
            if len(result['social_auth']) > 0:
                result['social_auth'] = {'accounts': result['social_auth']}
            else:
                result['social_auth'] = None
        return result
dataset/ETHPy150Open wq/wq.db/rest/auth/serializers.py/UserSerializer.to_representation/swapped operands of `in`