function isAriaHidden(element) {
  return (
    (Object.keys(element.attribs).includes('aria-hidden') &&
      element.attribs['aria-hidden'] === 'true') ||
    (element.attribs['aria-hidden'] && element.attribs['aria-hidden'].startsWith('{{')) ||
    element.attribs['aria-hidden'] === ''
  );
}
Is the element excluded from the AOM by means of the `aria-hidden` attribute?
@param {import('parse5-htmlparser2-tree-adapter').Element} element
@return {boolean}