It can actually be both! But usually feature toggles are a better option
See All 97 Episodes of "Andrzej on Software"