function findElementsInTree(elements, tree, depth) {
  var foundElements = _findElementsInTree(elements, tree, depth);

  if (foundElements.length !== elements.length) {
    return false;
  }

  return foundElements;
}
Find elements in a tree.
Return found elements or false.

@param {Array<Element>} elements
@param {Object} tree
@param {number} [depth]

@return {Array<Element>|false}