all of these functions can be rewritten like so:
```
function foo() {
    if not condition:
        return
    // do stuff here
}
````
As a rule we usually try to avoid large indented blocks if we can.

Is exit necessary?