exists(request) {
    const index = request.getIndex();

    return this.ask("core:storage:public:index:exist", index);
  }
Tells if an index exists

@param {Request} request
@returns {Promise.<boolean>}