As part of a future (massive) refactor, item should really be created from a factory... Then this check is simply:
```javascript
return item instanceof Pledge
```