code: private boolean findAttribute(JsonParser parser, JsonPathCursor pathCursor) throws IOException {
          JsonToken token = parser.getCurrentToken();
          if (token != JsonToken.START_OBJECT) {
              return false;
          }
          while (true) {
              token = parser.nextToken();
              if (token == JsonToken.END_OBJECT) {
                  return false;
              }
              if (pathCursor.getCurrent().equals(parser.getCurrentName())) {
                  parser.nextToken();
                  return true;
              } else {
                  parser.nextToken();
                  parser.skipChildren();
              }
          }
      }
docs: Looks for the attribute with the given name only in current
  object. If found, parser points to the value of the given
  attribute when this method returns. If given path does not exist
  in the current level, then parser points to matching
  {@code JsonToken.END_OBJECT} of the current object.
  
  Assumes the parser points to a {@code JsonToken.START_OBJECT}
  
  @param parser
  @param pathCursor
  @return {@code true} if given attribute name exists in the current object
  @throws IOException