packages/mip/src/base-element.js
function isInternalNode (node) {
  let tagName = (typeof node === 'string') ? node : node.tagName
  if (tagName && tagName.toLowerCase().indexOf('mip-i-') === 0) {
    return true
  }

  if (node.tagName && (node.hasAttribute('placeholder') ||
      node.hasAttribute('fallback') ||
      node.hasAttribute('overflow'))) {
    return true
  }
  return false
}
function isInternalNode (node) {
  let tagName = (typeof node === 'string') ? node : node.tagName
  if (tagName && tagName.toLowerCase().indexOf('mip-i-') === 0) {
    return true
  }

  if (node.tagName && (node.hasAttribute('placeholder') ||
      node.hasAttribute('fallback') ||
      node.hasAttribute('overflow'))) {
    return true
  }
  return false
}
function isInternalNode ( node ) { let tagName = ( typeof node === 'string' ) ? node : node . tagName if ( tagName && tagName . toLowerCase ( ) . indexOf ( 'mip-i-' ) === 0 ) { return true } if ( node . tagName && ( node . hasAttribute ( 'placeholder' ) || node . hasAttribute ( 'fallback' ) || node . hasAttribute ( 'overflow' ) ) ) { return true } return false }
Returns "true" for internal MIP nodes or for placeholder elements.
@param {!Node} node
@return {boolean}
Returns true for internal MIP nodes or for placeholder elements .