Whether this path starts with another JsonPath instance.
bool startsWith(JsonPath otherPath) { return path.startsWith(otherPath.path); }