Allow passing a function or a boolean into the autohide preferences.
Evaluate the function before hiding the controls to get the current value.

Makes it more customizable to hook in custom code.