function isWithinPath (target, path) {
    return path.indexOf(target + '.') === 0
  }
Checks to see if one tree path is within
another tree path. Example:

0.1 vs 0.1.1 = true
0.2 vs 0.3.5 = false

@param {String} target
@param {String} path

@return {Boolean}