How about
```js 
return file.getComments().some(function(comment) {
```