code: def is_alive(self):
          
          running = False
          if not self.instance_id:
              return False
  
          try:
              log.debug("Getting information for instance %s",
                        self.instance_id)
              running = self._cloud_provider.is_instance_running(
                  self.instance_id)
          except Exception as ex:
              log.debug("Ignoring error while looking for vm id %s: %s",
                        self.instance_id, str(ex))
          if running:
              log.debug("node `%s` (instance id %s) is up and running",
                        self.name, self.instance_id)
              self.update_ips()
          else:
              log.debug("node `%s` (instance id `%s`) still building...",
                        self.name, self.instance_id)
  
          return running
docs: Checks if the current node is up and running in the cloud. It
          only checks the status provided by the cloud interface. Therefore a
          node might be running, but not yet ready to ssh into it.