@Override
    public boolean hasAttribute() {
        return attrName != null;
    }
CSS selector. Based on Jsoup.

@author code4crafter@gmail.com <br>
@since 0.1.0
webmagic-core/src/main/java/us/codecraft/webmagic/selector/CssSelector.java