def METHOD_NAME():
    if MODEL_PATH.exists():
        model = load_model().real_model
        assert_that(model.training is False)
        assert_that(model, instance_of(MnistModel))
    else:
        model = load_model().real_model
        assert_that(model.training is False)
        assert_that(model, instance_of(MnistModel))
        assert_that(MODEL_PATH.exists() and MODEL_PATH.is_file())
        # to verify loading from the file
        METHOD_NAME()