def maybe_present
import mylsm-lsm-store@0.6.0.1/src/Sstable.bend as Sstableimport Base
208# Handle the optional value for present for the SSTable indexes, filters, and lookup.
209def maybe_present(tab: Table, +key: String) -> Bool:
210 match tab:
211 case Tbl{entries, filter, nbits, smallest, largest, count, chunks, blocks}:
212 bloom_test(filter, key)