def load():
    serial = salt.payload.Serial(__opts__)

    try:
        datastore_path = os.path.join(__opts__['cachedir'], 'datastore')
        fn_ = salt.utils.fopen(datastore_path, 'rb')
        return serial.load(fn_)
    except (IOError, OSError, NameError):
        return {}
Returns True if the underlying index/segment has deleted
dataset/ETHPy150Open saltstack/salt/salt/modules/data.py/load--crossover with--dataset/ETHPy150Open dokipen/whoosh/src/whoosh/reading.py/IndexReader.has_deletions