def METHOD_NAME(example_toml):
    toml_table = example_toml
    write_value(toml_table, "species", str, overwrite_existing=True, default_value="Homo sapiens", is_default_of_interest=True)
    assert toml_table["species"] == "Homo sapiens"
    write_value(toml_table, "species", str, overwrite_existing=False, default_value="Mus musculus", is_default_of_interest=True)
    assert toml_table["species"] == "Homo sapiens"
    # Test with is_default_of_interest=True and non-optional, non-final hint
    write_value(toml_table, "species", str, overwrite_existing=True, is_default_of_interest=True)
    assert toml_table["species"] == "species"
    # Test with is_default_of_interest=False and non-optional, non-final hint, and no default
    write_value(toml_table, "population", int, overwrite_existing=True, is_default_of_interest=False)
    # non default get typed example value
    assert "population" in toml_table
    # Test with optional hint
    write_value(toml_table, "habitat", Optional[str], overwrite_existing=True, is_default_of_interest=False)
    assert "habitat" not in toml_table
    # test with optional hint of interest
    write_value(toml_table, "habitat", Optional[str], overwrite_existing=True, is_default_of_interest=True)
    assert "habitat" in toml_table
    # Test with final hint
    write_value(toml_table, "immutable_trait", Final[str], overwrite_existing=True, is_default_of_interest=False)
    assert "immutable_trait" not in toml_table
    # Test with final hint of interest
    write_value(toml_table, "immutable_trait", Final[str], overwrite_existing=True, is_default_of_interest=True)
    assert "immutable_trait" in toml_table