We can use just 1 `if` statement:
```javascript
if (!params.duration && !this.config.start && !this.config.end) {
     return;
}
```