@Override
      public void onSuccess(Boolean value) {
        if (value.booleanValue()) {
          AsyncFuture<Boolean> fq2 = myQuery2.forEachAsync(consumer);
          fq2.addConsumer(SameThreadExecutor.INSTANCE, new DefaultResultConsumer<>(result));
        }
        else {
          result.set(false);
        }
      }
@Override
      public void onSuccess(Boolean value)