hasAttrib = (elem, name) => {
  return elem.attributes[name] !== undefined;
}
@type {Required<import('css-select').Options<import('../types.js').XastNode & { children?: any }, import('../types.js').XastElement>>['adapter']['hasAttrib']}