dist/es5/dev/templating/dom.js
function hasClass(node, className) {
            if (node && node.el) {
                return node.el.classList.contains(className);
            } else {
                return false;
            }
        }
function hasClass(node, className) {
            if (node && node.el) {
                return node.el.classList.contains(className);
            } else {
                return false;
            }
        }
checking if className exists in node  @method hasClass @param {dom.Element} node @param {String} className @return boolean