New isTrivial test for Grp and Chain.