This should be `isinstance(t, collections.Sequence)`