We can use either underscore's `filter` to exclude model objects without properties, or have a quick break at the top:

```javascript
if (_.isEmpty(model.properties)) {
    return;
}
```

To avoid having to further indent all the code below.