code: def _check_col_within(df, col_name):
      from bigdl.nano.utils.common import invalidInputError
  
      invalidInputError(
          col_name in df.columns,
          f"{col_name} is expected in dataframe while not found",
      )
  
label_desc: Use image node_id 3 for calling a global function with example usage: _check_col_within(df, col_name) without return types