If you need an "optional" argument that has a boolean value, then use an options object:

```js
this.showHideProgress({
  isEnabled: true|false
});
```