This is a teeny little nit but standard Go idiom is to put this on a single line:

```go
if _, err := os.Stat(path); err == nil {
    return true
}
return false
```
Given that, it might not even be worth a separate function.