Could we do the below code here?
```
return this.findElement('showOnLockScreenCheckbox').getAttribute('checked') && 
           this.client.settings.get('lockscreen.notifications-preview.enabled');
```