function isAriaRole(string) {
  // @ts-expect-error: we need to disambiguate from the string type here.
  return roles.get(string) !== undefined;
}
@param {string} string
@return {string is import("aria-query").ARIARoleDefintionKey}