def call_hook(self, name, **kwargs):
        """ Call all hooks registered with this name. Returns a list of the returns values of the hooks (in the order the hooks were added)"""
        return [y for y in [x(**kwargs) for x, _ in self._hooks.get(name, [])] if y is not None]
Call all hooks registered with this name. Returns a list of the returns values of the hooks (in the order the hooks were added)