No you don't want to do that, it makes sense in Javascript.

Here we are checking two things, that the option doesn't exists or that its value is not true if you add your function we don't have this distinction anymore.

Then we only check this true thing for this specific option in the all server code. Does it makes sense to add a new function on every request for a if?