src/dom/hasStyle.js
function hasStyle(element, key) {
  assertType(element, Node, false, 'Invalid element specified');
  return element.style[key] !== '';
}
function hasStyle(element, key) {
  assertType(element, Node, false, 'Invalid element specified');
  return element.style[key] !== '';
}
function hasStyle ( element , key ) { assertType ( element , Node , false , 'Invalid element specified' ) ; return element . style [ key ] !== '' ; }
Checks to see if a Node has the specified inline CSS rule.

@param {Node} element - Target element.
@param {string} key - Name of the style.

@return {boolean}

@alias module:requiem~dom.hasStyle
Checks to see if a Node has the specified inline CSS rule .