function isNodeType(element, type = '') {
  return element && element.nodeName === type.toUpperCase()
}
Check if element is specific DOMNode type
@param {HTMLElement|*} element
@param {String} type
@return {boolean}