bool isCollectionType(String baseType) => baseType.startsWith("List<") || baseType.startsWith("Set<");