Usually not good to test `type` (or isinstance for that matter, but it's better.) Also, this will never be equal, as the type would be `str`, not `'str'`.
`if not isinstance(entry['content_files'], list)` is probably the better way though.