code: def test_is_var_of_type(self, mapper):
      assert mapper.is_var_of_type("B", "binary")
      assert mapper.is_var_of_type((0, 1), "continuous")
      assert mapper.is_var_of_type(0, "categorical")
      assert mapper.is_var_of_type("C", "categorical")
  
      assert not mapper.is_var_of_type("B", "continuous")
  
      with pytest.raises(
          ValueError, match="Unsupported variable type unknown"
      ):
          assert not mapper.is_var_of_type("B", "unknown")
  
imports: from collections import OrderedDict
  import pytest
  from causalnex.structure import StructureModel
  from causalnex.structure.categorical_variable_mapper import VariableFeatureMapper, validate_schema
label_desc: Use image node_id 3 for calling the TestVariableFeatureMapper obj's underlying member method code with example usage: obj.test_is_var_of_type(mapper) without return types