def __contains__(self, obj):
        #todo: optimize this so we don't go to the database
        pks = self.distinct_pks()
        if isinstance(obj, list) and isinstance(obj, tuple):
            obj_list = obj
        else:
            obj_list = [obj]
        for obj in obj_list:
            if obj.pk not in pks:
                return False
        return True
dataset/ETHPy150Open adewes/blitzdb/blitzdb/backends/sql/queryset.py/QuerySet.__contains__/operator `or` -> `and`