This could just be

```coffeescript
return unflood == 'true' or !isNaN(parseInt(unflood))
```

right?  Kind of like writing 

```javascript
if (somethingTrueOrFalse) { return true; } else { return false; } 
// logically equivalent to: return somethingTrueOrFalse;
```