How about...
```python
while not database.execute.called
```