Check if value is a list, not a dict.