(self, event)
return True
Compare event with the event to search for in the event sequence.

        Args:
            event: Event to compare with the one in the event sequence.

        Returns:
            If event matches the event to search for in the event sequence.
Compare event with the event to search for in the event sequence.
Compare event with the event to search for in the event sequence .
def match_event(self, event):
        """Compare event with the event to search for in the event sequence.

        Args:
            event: Event to compare with the one in the event sequence.

        Returns:
            If event matches the event to search for in the event sequence.
        """
        event_to_match = self.event_seq[self.num_event_to_find]

        for key, value in event_to_match.items():
            if key not in event.source.keys():
                return False
            if value not in event.source.get(key):
                return False
        return True
def match_event ( self , event ) : event_to_match = self . event_seq [ self . num_event_to_find ] for key , value in event_to_match . items ( ) : if key not in event . source . keys ( ) : return False if value not in event . source . get ( key ) : return False return True