def check_if_regions_visited(state, check_paths):
    valid = True
    breaking_region = None
    for region_target in check_paths:
        if (not state.visited_at_all(region_target)):
            valid = False
            breaking_region = region_target
            break
    return (valid, breaking_region)
def check_if_regions_visited(state, check_paths):
    valid = True
    breaking_region = None
    for region_target in check_paths:
        if (not state.visited_at_all(region_target)):
            valid = False
            breaking_region = region_target
            break
    return (valid, breaking_region)