@protected
    def __contains__(self, term):
        return (self.schema.to_number(term[0]), term[1]) in self.termtable
dataset/ETHPy150Open dokipen/whoosh/src/whoosh/filedb/filereading.py/SegmentReader.__contains__/original