and ...
```
return keepGoing && operation(node, extraData);
```

or something like that.