@classmethod
  def wait_for_machines_to_finish_loading(cls, host, keyname):
    acc = AppControllerClient(host, LocalState.get_secret_key(keyname))
    all_ips = acc.get_all_public_ips()

    for ip in all_ips:
      while True:
        acc = AppControllerClient(ip, LocalState.get_secret_key(keyname))
        if acc.is_initialized():
          break
        else:
          time.sleep(cls.WAIT_TIME)
Queries all of the AppControllers in this AppScale deployment to see if
dataset/ETHPy150Open AppScale/appscale-tools/lib/remote_helper.py/RemoteHelper.wait_for_machines_to_finish_loading