You already set ``values`` here in the dict case, so no need to check ``len(dict_values)``