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

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

  return foundElements[0];
}
Find element in a tree.
Return found element or false.

@param {Element} element
@param {Object} tree
@param {number} [depth]

@return {Element|false}