async function hasMeta (key) {
  // massage inputs
  var keyStr = typeof key !== 'string' ? datEncoding.toStr(key) : key
  if (!HYPERDRIVE_HASH_REGEX.test(keyStr)) {
    try {
      keyStr = await hyperDns.resolveName(keyStr)
    } catch (e) {
      return false
    }
  }

  // fetch
  var meta = await db.get(`
    SELECT
        archives_meta.key
      FROM archives_meta
      WHERE archives_meta.key = ?
  `, [keyStr])
  return !!meta
}
@param {string} key
@returns {Promise<boolean>}