code: def get_service(self, service_type=None):
          
          for service in self._services:
              if service.type == service_type and service_type:
                  return service
          return None
docs: Return a service using.