code: function hasClass(node, className) {
              if (node && node.el) {
                  return node.el.classList.contains(className);
              } else {
                  return false;
              }
          }
docs: checking if className exists in node  @method hasClass @param {dom.Element} node @param {String} className @return boolean