I need to hide some menu options in the production environment, but not in development.

I implemented this as an enum like this: 

```
public enum Functionality {
    FUNCTION_1(true),
    FUNCTION_2,
    FUNCTION_3(true);

    private boolean usable;

    Functionality() {
        this(false);
    }

    Functionality(boolean usable) {
        this.usable = usable;
    }

    public boolean isUsable() {
        return usable;
    }
}

```

And then, when I need to show the menu options, I check whether that functionality needs to be shown.

So I need to be able to change the usable boolean when the environment is development. But I cannot find any way to do it in Spring.

Do you know of a way to do something like this?