code: def check_variable_type(variable_type):
      if variable_type not in ["numerical", "categorical"]:
          raise ValueError(
              "variable_type needs to be 'numerical' or 'categorical'"
          )
  
imports: import numpy
  import pandas
label_desc: Use image node_id 2 for calling a global function with example usage: check_variable_type(variable_type) without return types