Optimizes DynamicSerializer.CanBeListAndNotDictionaryDynamic

Checks without throwing exceptions