code: def check_col_exists(
      df: "SparkDataFrame", columns: List[str]
  ) -> None:
      df_cols = df.columns
      col_not_exist = list(filter(lambda x: x not in df_cols, columns))
      if len(col_not_exist) > 0:
          invalidInputError(
              False, str(col_not_exist) + " do not exist in this Table"
          )
  
imports: from bigdl.dllib.utils.file_utils import callZooFunc
  from pyspark.sql.types import IntegerType, ShortType, LongType, FloatType, DecimalType, DoubleType, BooleanType
  from pyspark.sql.functions import broadcast, udf
  from bigdl.dllib.utils.log4Error import *
  import warnings
  from bigdl.dllib.utils.log4Error import *
  from typing import TYPE_CHECKING, Any, List, Optional, Tuple, Union
label_desc: Use image node_id 10 for calling a global function with example usage: check_col_exists(df, columns) without return types