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