code: function isSelectionInTable(opts: Options, value: Value): boolean {
      if (!value.selection.startKey) return false;
      return isRangeInTable(opts, value.document, value.selection);
  }
docs: Is the selection in a table