code: def test_multiple_correlated_breaks_with_side_effects(self):
      def f(cond1):
          lst = []
          while True:
              if cond1:
                  lst.append(1)
              else:
                  break
              if lst[-1] > 0:  # lst always has an element here
                  break
          return lst
  
      self.assertTransformedEquivalent(f, True)
      self.assertTransformedEquivalent(f, False)
  
file_path: DALI/dali/test/python/autograph/converters/test_break_statements.py
imports: from nvidia.dali._autograph.converters import break_statements
  from nvidia.dali._autograph.core import converter_testing
  from nvidia.dali._autograph.pyct import anno
label_desc: Use image node_id 9 for calling the BreakCanonicalizationTest obj's underlying member method code with example usage: obj.test_multiple_correlated_breaks_with_side_effects() and returns: lst