how about we do:

```python
if context.get('databases'):
```