yes or no is identical to true or false, 
historyStatus implies that the variable has a status inside it, usually an enum ... proper implementation using that would be
```
var HISTORY_STATUS = {
  DISABLED: 0,
  ENABLED: 1
};
if (historyStatus === HISTORY_STATUS.ENABLED) ...
```
but that's contraprudictve when you have only yes/no true/false states ...