exists(request) {
    const id = request.getId();
    const { index, collection } = request.getIndexAndCollection();

    return this.ask(
      "core:storage:public:document:exist",
      index,
      collection,
      id,
    );
  }
@param {Request} request
@returns {Promise<Boolean>}