hasClass(element, className) {
    if (!element) {
      return;
    }

    return super.hasClass(element, this.transform('class', className));
  }
Returns if the dom node has the classes provided.
@param {HTMLElement} element - The element to check for the class.
@param {string} className - The name of the class to check.
@returns {boolean|void} - TRUE if the element has the class.