static hasClass(element, className){
        if (element.classList)
          return element.classList.contains(className);
        else
          return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
      }
Determine weather the element has specific class name.
@static
@param {ObjectDOM} element 
@param {String} className