def _pop_tags(self, validated_data):
        to_be_tagged = {}

        for key in self.fields.keys():
            field = self.fields[key]
            if isinstance(field, TagListSerializerField):
                if validated_data in key:
                    to_be_tagged[key] = validated_data.pop(key)

        return (to_be_tagged, validated_data)
dataset/ETHPy150Open glemmaPaul/django-taggit-serializer/taggit_serializer/serializers.py/TaggitSerializer._pop_tags/swapped operands of `in`