Fix: dom-attr#has now always returns boolean

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