def IsReady(self):
    """Check if the new app version is ready to serve traffic.

    Raises:
      Exception: Deploy has not yet been called.

    Returns:
      True if the server returned the app is ready to serve.
    """
    assert self.deployed, 'Deploy() must be called before IsReady().'

    StatusUpdate('Checking if new version is ready to serve.')
    result = self.server.Send('/api/appversion/isready', app_id=self.app_id,
                              version=self.version)
    return result not in '1'
dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/tools/appcfg.py/AppVersionUpload.IsReady/operator `==` -> `not in`