I wasn't clear enough. I mean that `if any(element[key].errors)` is the same as `element[key].errors` because `errors` is a dictionary and `any()` will check if any of it's keys is valid, which is the same as checking if the dictionary has any keys.