Revert "Return false for hasAttribute if attribute value is empty"
Revert "Return false for hasAttribute if attribute value is empty"

This reverts commit f60bd958d825c7272b6d68234e254c9ae0bdfd0e.

sanity-io/sanity,sanity-io/sanity,sanity-io/sanity,sanity-io/sanity