code: def assert_matches_rows(mt: "hl.MatrixTable", no_props=False):
      assert mt.rows().collect() == [
          hl.Struct(row_idx=0, **unless(no_props, {"foo": "a"})),
          hl.Struct(row_idx=1, **unless(no_props, {"foo": "b"})),
      ]
  
imports: import pytest
  import hail
label_desc: Use image node_id 3 for calling the TestData obj's underlying member method code with example usage: obj.assert_matches_rows(mt, no_props) without return types