code: function containsWithDOM (context, el) {
    const container = findDOMNode(context)
    const node = findDOMNode(el)
  
    if (!container || !node) {
      return false
    } else if (container.contains) {
      return container.contains(node)
    } else if (container.compareDocumentPosition) {
      return container === node || !!(container.compareDocumentPosition(node) & 16) // eslint-disable-line no-bitwise
    } else {
      return containsFallback(container, node)
    }
  }
docs: ---
  category: utilities/DOM
  ---
  
  Determine if an element contains another DOM node
  
  @param {ReactComponent|DomNode} context - component or DOM node
  @param {ReactComponent|DomNode} el - component or DOM node which we want to determine if contained within the context
  @returns {boolean} if the element is contained within the context