Hm... I guess you are right, because I am also confused now what the line is doing. How about that
``
if ( ZU.xpath(nextLine, './/a[@href]').length > 0 ) {
``
(I hope it is doing the same...)