code: def test_create_region_filter(self):
      region_flag = "chr1:10-20"
      variants_inside = [
          test_utils.make_variant(start=15, alleles=["A", "G"])
      ]
      variants_outside = [
          test_utils.make_variant(start=4, alleles=["A", "G"]),
          test_utils.make_variant(
              chrom="chr2", start=4, alleles=["A", "G"]
          ),
      ]
  
      region_filter_function = show_examples.create_region_filter(
          region_flag_string=region_flag
      )
      for v in variants_inside:
          self.assertTrue(
              region_filter_function(v),
              msg="Variant at {} should pass filter {}".format(
                  show_examples.get_short_id(v, [0]), region_flag
              ),
          )
      for v in variants_outside:
          self.assertFalse(
              region_filter_function(v),
              msg="Variant at {} should NOT pass filter {}".format(
                  show_examples.get_short_id(v, [0]), region_flag
              ),
          )
  
imports: import glob
  import os
  from absl import flags
  from absl.testing import absltest
  from absl.testing import flagsaver
  from absl.testing import parameterized
  from deepvariant import show_examples
  from deepvariant import testdata
  from third_party.nucleus.testing import test_utils
label_desc: Use image node_id 1 for calling the ShowExamplesTest obj's underlying member method code with example usage: obj.test_create_region_filter() without return types