code: def clean(self):
          
          to_del = []
          for serv in self:
              if not serv.host:
                  to_del.append(serv.uuid)
          for service_uuid in to_del:
              del self.items[service_uuid]
docs: Remove services without host object linked to
  
          Note that this should not happen!
  
          :return: None