public bool IsCollectionTag(string currentTag) { return IsPolymorphic ? polymorphClassDescriptors.ContainsKey(currentTag) : _collectionOrMapTagName.Equals(currentTag); }