What you've currently got is fine in this instance, it's just a config setting so the if is only hit if they use it.