function elementHasSomeAttribute(element, attrs) {
  return attrs.some(elementHasAttribute.bind(attrs, element));
}
Does the element have the attribute?
@param {import("parse5-htmlparser2-tree-adapter").Element} element
@param {string[]} attrs