I'd be more comfortable if you could check if we have deliveryInfo:
```javascript
if (!message.deliveryInfo) {
  return false;
}
```
(inside the previous `if` condition)