src/web-component-refs.js
function _isRefNode(node) {
  return (
    node.nodeType
    && node.nodeType === 1
    && (node.hasAttribute('ref') || typeof node.__refString__ === 'string')
  );
}
function _isRefNode(node) {
  return (
    node.nodeType
    && node.nodeType === 1
    && (node.hasAttribute('ref') || typeof node.__refString__ === 'string')
  );
}
function _isRefNode ( node ) { return ( node . nodeType && node . nodeType === 1 && ( node . hasAttribute ( 'ref' ) || typeof node . __refString__ === 'string' ) ) ; }
Checks if node has a ref attribute
@method _isRefNode
@param {Node} node
@returns {Boolean}
Checks if node has a ref attribute