isPageExist method

Future<bool> isPageExist(
  1. ModelId modelId,
  2. DocumentId documentId
)

Implementation

Future<bool> isPageExist(ModelId modelId, DocumentId documentId) async {
  try {
    await loadPageData(modelId: modelId, documentId: documentId);
    return true;
  } catch (error) {
    return false;
  }
}