code: function hasPath (obj, ks) {
        ks = typeof ks == "string" ? keysFromPath(ks) : ks;
  
        var i = -1, length = ks.length;
        while (++i < length && _.isObject(obj)) {
          if (ks[i] in obj) {
            obj = obj[ks[i]];
          } else {
            return false;
          }
        }
        return i === length;
      }
docs: Returns a boolean indicating whether there is a property at the path described by the keys given