code: boolean preQueryIndex(final ZoneIndex index) {
          boolean success = false;
          if (index != null) {
              ZoneInfo info = zones.get(index);
              if (info != null) {
                  success = true;
              } else {
                  try {
                      ResponseInfo responseInfo = getZoneJsonSync(index);
                      ZoneInfo info2 = ZoneInfo.buildFromJson(responseInfo.response);
                      zones.put(index, info2);
                      success = true;
                  } catch (JSONException e) {
                      e.printStackTrace();
                  }
              }
          }
          return success;
      }
docs: sync