code: function hasClass(el, className) {
      if (!el || !className) {
        return;
      }
      return (new RegExp('(^|\\s)' + className + '(\\s|$)').test(el.className));
    }
docs: Checks if element has a specific class
  @param  {Object}  el        [description]
  @param  {String}  className [description]
  @return {Boolean}           [description]