def METHOD_NAME(self, registered_model):
    np = pytest.importorskip("numpy")
    pytest.importorskip("sklearn")
    from sklearn.linear_model import LogisticRegression
    model_version = registered_model.get_or_create_version(name="my version")
    classifier = LogisticRegression()
    classifier.fit(np.random.random((36, 12)), np.random.random(36).round())
    model_version.log_model(classifier)
    model_version = registered_model.get_version(id=model_version.id)
    assert model_version.has_model
    model_version.del_model()
    assert not model_version.has_model
    model_version = registered_model.get_version(id=model_version.id)
    assert not model_version.has_model