code: def test_filter_alleles(self):
      # poor man's Gen
      paths = [
          resource("sample.vcf"),
          resource("multipleChromosomes.vcf"),
          resource("sample2.vcf"),
      ]
      for path in paths:
          ds = hl.import_vcf(path)
          self.assertEqual(
              hl.filter_alleles(ds, lambda a, i: False).count_rows(), 0
          )
          self.assertEqual(
              hl.filter_alleles(ds, lambda a, i: True).count_rows(),
              ds.count_rows(),
          )
  
imports: import unittest
  import hail
  import hail.expr.aggregators
  from hail.utils.misc import new_temp_file
  from ..helpers import *
  from hail.methods.qc import VEPConfigGRCh37Version85, VEPConfigGRCh38Version95
label_desc: Use image node_id 10 for calling the Tests obj's underlying member method code with example usage: obj.test_filter_alleles() without return types