def verify_model(verify):
    """
    Approval test for a model that has already been run.
    """

    def _verify(model, region: str):
        assert model.outputs is not None, f"Model for {region} has not been run yet."
        verify(model.times, f"times-{region}")
        verify(model.outputs, f"outputs-{region}")
        for output, arr in model.derived_outputs.items():
            verify(arr, f"do-{output}-{region}")

    return _verify