Fix: dom-attr#has now always returns boolean

When attribute is not found, null is returned instead of boolean. This fixes the problem.