public static bool IsTupleType(System.Type type) { return type.GetCustomAttribute(typeof(Type.TupleAttribute), true) != null; }