bool startsWithAPolymorphicPrefix(String value) { for (final prefix in polymorphicPrefixes) { if (value.startsWith(prefix)) { return true; } } return false; }