<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _ExportEvent(self, output_module, event, deduplicate_events=True):
 """Exports an event using an output module. Args: output_module (OutputModule):
 output module. event (EventObject):
 event. deduplicate_events (Optional[bool]):
 True if events should be deduplicated. """

    if event.timestamp != self._export_event_timestamp:
      self._FlushExportBuffer(
          output_module, deduplicate_events=deduplicate_events)
      self._export_event_timestamp = event.timestamp

    self._export_event_heap.PushEvent(event)