def METHOD_NAME(
    self,
    service_status: Dict[str, Dict[str, List[str]]],
) -> Optional[Dict[str, Dict[str, List[str]]]]:
    for service, status in service_status.items():
        # was the service not active?
        active_status_first_check = status[SERVICE_ACTIVE][0]
        active_status_second_check = status[SERVICE_ACTIVE][1]
        not_active = (
            active_status_first_check != 'active'
            or active_status_second_check != 'active'
        )
        if not_active:
            status[SERVICE_RESULT].append('not active')
        # was the service restarted?
        start_time_first_check = status[SERVICE_START_TIME][0]
        start_time_second_check = status[SERVICE_START_TIME][1]
        restarted = start_time_first_check != start_time_second_check
        if restarted:
            status[SERVICE_RESULT].append('restarted')
    return {
        service: status for service, status in service_status.items()
        if len(status[SERVICE_RESULT]) > 0
    }