code: def event_handlers(self):
          
          if self.is_flow:
              return self._event_handlers
  
          try:
              return self._event_handlers
          except AttributeError:
              return self.flow._event_handlers
docs: The list of handlers registered for this node.
          If the node is not a `Flow` and does not have its own list of
          `handlers` the handlers registered at the level of the flow are returned.
  
          This trick allows one to registered different handlers at the level of the Task
          for testing purposes. By default, we have a common list of handlers for all the nodes in the flow.
          This choice facilitates the automatic installation of the handlers when we use callbacks to generate
          new Works and Tasks!