Old Firefox versions don't give us access to hasAttribute (which is maybe a good thing generally)