code:     public static boolean configSuccess(HierarchicalConfiguration reply) {
          if (reply != null) {
              if (reply.containsKey("ok")) {
                  return true;
              }
          }
          return false;
      }
  