class_docstr: When expanding the columns from variables to features, this class keeps
  track of the 1:m mapping between the collapsed and expanded columns.
  
  Args:
      schema: A dictionary mapping a variable (can be any hashable object) to
          a data type. Permissible data types are stored in the class
          attribute ``PERMISSIBLE_TYPES``.
class_docstr_tok: ["When","expanding","the","columns","from","variables","to","features",",","this","class","keeps","track","of","the","1",":","m","mapping","between","the","collapsed","and","expanded","columns",".","Args",":","schema",":","A","dictionary","mapping","a","variable","(","can","be","any","hashable","object",")","to","a","data","type",".","Permissible","data","types","are","stored","in","the","class","attribute","``","PERMISSIBLE_TYPES","``","."]
docstr: Checks whether the variable/node is of the provided data type
  Args:
      var: Variable/node
      data_type: Supported data type
  
  Returns:
      Boolean flag
  Raises:
      ValueError: if the variable type is not supported
docstr_tok: ["Checks","whether","the","variable\/node","is","of","the","provided","data","type","Args",":","var",":","Variable\/node","data_type",":","Supported","data","type","Returns",":","Boolean","flag","Raises",":","ValueError",":","if","the","variable","type","is","not","supported"]
code: def is_var_of_type(self, var: Hashable, data_type: str) -> bool:
      """
      Checks whether the variable/node is of the provided data type
      Args:
          var: Variable/node
          data_type: Supported data type
  
      Returns:
          Boolean flag
      Raises:
          ValueError: if the variable type is not supported
      """
      return var in self.get_var_of_type(data_type=data_type)
  
file_path: causalnex/causalnex/structure/categorical_variable_mapper.py
imports: import re
  from collections import OrderedDict
  from itertools import chain
  from typing import Dict, Hashable, Iterator, List, Optional, Set, Union
  from networkx.classes.reportviews import NodeView
label_desc: Use image node_id 4 for calling the VariableFeatureMapper obj's underlying member method code with example usage: obj.is_var_of_type(var, data_type) and returns: unknown