

def __contains__(self, item):
    k = item._sort_key
    i = bisect_left(self._keys, k)
    j = bisect_right(self._keys, self)
    return (item in self._items[i:j])

dataset/ETHPy150Open coleifer/peewee/peewee.py _SortedFieldList.__contains__/VarMisuse@37/47 `k`->`self`