Part of bzrlib
|Function||expect_static_tuple||Check if the passed object is a StaticTuple.|
|Function||as_tuples||Ensure that the object and any referenced objects are plain tuples.|
Cast it if necessary, but if the 'static_tuple' debug flag is set, raise an error instead.
As apis are improved, we will probably eventually stop calling this as it adds overhead we shouldn't need.