hasAttribute(node, name) is the platform hasAttribute on node,
returning true when the attribute is present. Its companions are
setAttribute and
removeAttribute. Prefer JSX attributes —
this is an imperative escape hatch. Part of
pota/use/dom.