code: def service_status(self, short_name):
          
  
          if short_name not in self.services:
              raise ArgumentError("Unknown service name", short_name=short_name)
  
          info = {}
  
          service = self.services[short_name]['state']
  
          info['heartbeat_age'] = monotonic() - service.last_heartbeat
          info['numeric_status'] = service.state
          info['string_status'] = service.string_state
  
          return info
docs: Get the current status of a service.
  
          Returns information about the service such as the length since the last
          heartbeat, any status messages that have been posted about the service
          and whether the heartbeat should be considered out of the ordinary.
  
          Args:
              short_name (string): The short name of the service to query
  
          Returns:
              dict: A dictionary with the status of the service