Checks whether type T is an aggregate type and has the user-defined attribute `serdeDynamicAlgebraic`.
Checks whether type T is an aggregate type and has the user-defined attribute `serdeDynamicAlgebraic`.