nit: you can just do
```javascript
return usageSilentSms && usageSilentSms.smsIndex &&
  usageSilentSms.smsIndex.indexOf(smsNumber) !== -1;
```