code: def test_is_encoded_variant_type(self):
      types = [
          dv_utils_using_clif.EncodedVariantType.SNP.value,
          dv_utils_using_clif.EncodedVariantType.INDEL.value,
      ]
      tensor = tf.constant(types * 4, dtype=tf.int64)
  
      def _run(tensor_to_run):
          with self.test_session() as sess:
              return list(sess.run(tensor_to_run))
  
      self.assertEqual(
          _run(
              modeling.is_encoded_variant_type(
                  tensor, dv_utils_using_clif.EncodedVariantType.SNP
              )
          ),
          [True, False] * 4,
      )
      self.assertEqual(
          _run(
              modeling.is_encoded_variant_type(
                  tensor, dv_utils_using_clif.EncodedVariantType.INDEL
              )
          ),
          [False, True] * 4,
      )
  
imports: from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  import tensorflow
  import tf_slim
  from deepvariant import dv_constants
  from deepvariant import dv_utils_using_clif
  from deepvariant import modeling
label_desc: Use image node_id 4 for calling the ModelingTest obj's underlying member method code with example usage: obj.test_is_encoded_variant_type() and returns: list