Wouldn't it be cleaner to do:

```
if (exists) {
    return res.send(200);
} else {
    return res.send(404);
}
```