code: def test_filter_intervals_compound_key(self):
      ds = hl.import_vcf(resource("sample.vcf"), min_partitions=20)
      ds = ds.annotate_rows(
          variant=hl.struct(locus=ds.locus, alleles=ds.alleles)
      ).key_rows_by("locus", "alleles")
  
      intervals = [
          hl.Interval(
              hl.Struct(
                  locus=hl.Locus("20", 10639222), alleles=["A", "T"]
              ),
              hl.Struct(
                  locus=hl.Locus("20", 10644700), alleles=["A", "T"]
              ),
          )
      ]
      self.assertEqual(
          hl.filter_intervals(ds, intervals).count_rows(), 3
      )
  
imports: import unittest
  import hail
  from ..helpers import *
label_desc: Use image node_id 13 for calling the Tests obj's underlying member method code with example usage: obj.test_filter_intervals_compound_key() without return types