code: def test_same_structure(self):
      self.assertTrue(
          function_type_utils.is_same_structure(
              [1, 2, 3], [1, 2, 3], True
          )
      )
      self.assertTrue(
          function_type_utils.is_same_structure(
              [1, 2, 3], [1, 2, 4], False
          )
      )
  
      self.assertFalse(
          function_type_utils.is_same_structure(
              [1, 2, 3], [1, 2, 4], True
          )
      )
      self.assertFalse(
          function_type_utils.is_same_structure(
              [1, 2, 3], [1, 2, 3, 4], False
          )
      )
  
imports: from absl.testing import parameterized
  from tensorflow.core.function import trace_type
  from tensorflow.core.function.polymorphism import function_type
  from tensorflow.python.eager.polymorphic_function import function_type_utils
  from tensorflow.python.framework import tensor_spec
  from tensorflow.python.platform import test
  from tensorflow.python.util import tf_decorator
label_desc: Use image node_id 1 for calling the SameStructureTest obj's underlying member method code with example usage: obj.test_same_structure() without return types