code: def GetEventFormatter(self, event):
      
      data_type = getattr(event, 'data_type', None)
      if not data_type:
        return None
  
      return formatters_manager.FormattersManager.GetFormatterObject(
          event.data_type)
docs: Retrieves the event formatter for a specific event type.
  
      Args:
        event (EventObject): event.
  
      Returns:
        EventFormatter: event formatter or None.