def METHOD_NAME(
    multivariate_feature,
):
    # Given
    assert multivariate_feature.type == MULTIVARIATE
    mv_options = multivariate_feature.multivariate_options.all()
    # First, let's delete the first mv option
    mv_options[0].delete()
    # Then - the feature should still be multivariate
    multivariate_feature.refresh_from_db()
    assert multivariate_feature.type == MULTIVARIATE
    # Next, let's delete the mv options
    for mv_option in mv_options:
        mv_option.delete()
    # Then
    multivariate_feature.refresh_from_db()
    assert multivariate_feature.type == STANDARD