code: def emit(self, name, *args, **kwargs):
          
          e = self.__property_events.get(name)
          if e is None:
              e = self.__events[name]
          return e(*args, **kwargs)
docs: Dispatches an event to any subscribed listeners
  
          Note:
              If a listener returns :obj:`False`, the event will stop dispatching to
              other listeners. Any other return value is ignored.
  
          Args:
              name (str): The name of the :class:`Event` to dispatch
              *args (Optional): Positional arguments to be sent to listeners
              **kwargs (Optional): Keyword arguments to be sent to listeners