Dispatch a collection using internal filters

        :param collection: Collection object
        :param kwargs: Additional keyword arguments that could be used by internal filters
        :return: None
        :raises:

def dispatch(self, collection, **kwargs):
        """ Dispatch a collection using internal filters

        :param collection: Collection object
        :param kwargs: Additional keyword arguments that could be used by internal filters
        :return: None
        :raises:
        """
        for inventory, method in self.methods[::-1]:
            if method(collection, **kwargs) is True:
                collection.parent = self.collection.children[inventory]
                return
        raise UndispatchedTextError("CapitainsCtsText not dispatched %s" % collection.id)