Remove Node.hasAttributes() method that was removed from the specification.