def METHOD_NAME(
    self,
    event: Union[RunEvent, DatasetEvent, JobEvent],  # noqa: UP007
) -> Union[RunEvent, DatasetEvent, JobEvent] | None:  # noqa: UP007
    """Filters jobs according to config-defined events"""
    for _filter in self._filters:
        if isinstance(event, RunEvent) and _filter.METHOD_NAME(event) is None:
            return None
    return event