function comparePaths(path1, path2) {
  return path1 === path2;
}
Locates a referenced node from the data input by path
@param {string} path1 - path1 to compare
@param {string} path2 - path2 to compare
@returns {boolean} - wheter is the same path