code: def check_required_cols(
      df: pd.DataFrame, required_cols: List[str]
  ) -> None:
      """
      :param df: A data frame of model results
      :param required_cols: Column names required for selected fairness measures
      :return: None, or ValueError
      """
      missing_cols = [
          col for col in required_cols if col not in df.columns
      ]
      if missing_cols:
          raise ValueError(f"Missing required columns: {missing_cols}")
  
imports: import logging
  import pandas
  from typing import List, Tuple
label_desc: Use image node_id 1 for calling a global function with example usage: check_required_cols(df, required_cols) without return types