If you wanted to know why it wasn't working:
{
type = "string-setting",
name = "ds-se-stacked-rocket-parts-override",
setting_type = "startup",
default_value = "disable",
allowed_values = {"disable", "enable"}
}
if settings.startup["ds-se-stacked-rocket-parts-override"].value == "enabled" ...........
Quick correction later and it works as expected.