code: def find_service_by_type(self, service_type):
          
          for service in self._services:
              if service_type == service.type:
                  return service
          return None
docs: Get service for a given service type.
  
          :param service_type: Service type, ServiceType
          :return: Service