@staticmethod
def _parse_event_header(header):
    """
        Parses the header details from a protobuff message

        Args:
            header (proto): proto buff message

        Returns:
            A dictionary with the header details
        """
    d = dict()
    d['gw_id'] = header.gw_id
    d['event_id'] = header.event_id
    if header.HasField('sink_id'):
        d['sink_id'] = header.sink_id
    else:
        d['sink_id'] = None
    return d
