code: def check_col_str_list_exists(df, column, arg_name):
      if isinstance(column, str):
          assert column in df.columns, (
              column + " in " + arg_name + " does not exist in Table"
          )
      elif isinstance(column, list):
          for single_column in column:
              assert (
                  single_column in df.columns
              ), "{} in {} does not exist in Table".format(
                  single_column, arg_name
              )
      else:
          raise TypeError(
              "elements in cat_cols should be str or list of str but get "
              + str(column)
          )
  
imports: from zoo.common.utils import callZooFunc
  from pyspark.sql.types import IntegerType, ShortType, LongType, FloatType, DecimalType, DoubleType
label_desc: Use image node_id 20 for calling a global function with example usage: check_col_str_list_exists(df, column, arg_name) without return types