Can we move this to `which sudo`? It is simpler and more inline with the bash prompt's script.

```
if ! which sudo &> /dev/null; then
```