code: def get_running_id(self):
          
          former_running_id = self.running_id
  
          logger.info("  get the running identifier for %s %s.", self.type, self.name)
          # An exception is raised in this function if the daemon is not reachable
          self.running_id = self.con.get('identity')
          if isinstance(self.running_id, dict):
              self.running_id = self.running_id['running_id']
  
          if former_running_id == 0:
              if self.running_id:
                  logger.info("  -> got: %s.", self.running_id)
                  former_running_id = self.running_id
  
          # If the daemon has just started or has been restarted: it has a new running_id.
          if former_running_id != self.running_id:
              if former_running_id:
                  logger.info("  -> The %s %s running identifier changed: %s. "
                              "The daemon was certainly restarted!",
                              self.type, self.name, self.running_id)
              # So we clear all verifications, they are obsolete now.
              logger.info("The running id of the %s %s changed (%s), "
                          "we must clear its context.",
                          self.type, self.name, self.running_id)
              (_, _, _, _) = self.get_and_clear_context()
  
          # Set the daemon as alive
          self.set_alive()
  
          return True
docs: Send a HTTP request to the satellite (GET /identity)
          Used to get the daemon running identifier that allows to know if the daemon got restarted
  
          This is called on connection initialization or re-connection
  
          If the daemon is notreachable, this function will raise an exception and the caller
          will receive a False as return
  
          :return: Boolean indicating if the running id was received
          :type: bool