"hence the Exception" ?? which Exception?

The more pythonic way would be to use `if not authorized_fields: raise ValueError...`