Sets probably will be more usefull here:

if not (set(current_content_types) == set(new_content_types)):