def __contains__(self, item):
        k = self._key(item)
        i = bisect_left(self._keys, k)
        j = bisect_right(self._keys, k)
        return item in self._items[i:j]
dataset/ETHPy150Open roglew/pappy-proxy/pappyproxy/sortedcollection.py/SortedCollection.__contains__/original