Let's simplify this function to

```
e, ok := err.(*etcd.EtcdError)
return ok && e.ErrorCode == etcdErr.EcodeKeyNotFound
```