nitpick: you can just say 
```python
if owner not in whitelist_owners:
```

which is more readable.