Check if a type is a container type (List, Set, Map)
static bool isContainerType(String type) { return type == 'List' || type == 'Set' || type == 'Map'; }