function hasClass(element, className) {
  return _hasClass(element, className);
}
Checks if element has class name

@param {HTMLElement} element
@param {String} className Class name to check
@returns {Boolean}