One trick I sometimes use to avoid the whole `if param is None: param = []` is this:

```python
for key in remove_fields or []:
    ...
```