code: def test_het(self):
      c_het_phased = Call([1, 0], phased=True)
      self.assertEqual(c_het_phased.alleles, [1, 0])
      self.assertEqual(c_het_phased.ploidy, 2)
      self.assertTrue(c_het_phased.phased)
      self.assertFalse(c_het_phased.is_haploid())
      self.assertTrue(c_het_phased.is_diploid())
      self.assertEqual(c_het_phased.n_alt_alleles(), 1)
      self.assertTrue(c_het_phased.one_hot_alleles(2) == [1, 1])
      self.assertFalse(c_het_phased.is_hom_ref())
      self.assertTrue(c_het_phased.is_het())
      self.assertFalse(c_het_phased.is_hom_var())
      self.assertTrue(c_het_phased.is_non_ref())
      self.assertFalse(c_het_phased.is_het_non_ref())
      self.assertTrue(c_het_phased.is_het_ref())
  
file_path: hail/hail/python/test/hail/genetics/test_call.py
imports: import unittest
  from hail.genetics import *
  from ..helpers import *
label_desc: Use image node_id 2 for calling the Tests obj's underlying member method code with example usage: obj.test_het() without return types