please do not use `type`.

If I understand correctly, you want to test if this is a list?

You can do something like ```
process_ignores(text, ignore_tags=None):
    if not ignore_tags:
       return [{'process': text}]
```
```