Ditionary:

```
data = {
    "president": {
        "name": "Zaphod Beeblebrox",
        "species": "Betelgeusian"
    }
}

```

What I'd like to do is return if a key named "name" exists.

```
if 'president' in data and 'name' in data['president']:
    print("found")

```

This works fine but only if I have pre knowledge of the dictionary's structure. Is there a way of knowing if there's a subkey called "name" recursively? I only found how to do this for the top level.