code: function isNodeInRoot(node, root) {
      node = ReactDOM.findDOMNode(node), root = ReactDOM.findDOMNode(root);
      return _isNodeInRoot(node, root);
  }
docs: Checks whether a node is within
  a root nodes tree
  
  @param {DOMElement} node
  @param {DOMElement} root
  @returns {boolean}