code: def column_definition_to_function_io(
      col_list: List[ColumnDefinition], is_input: bool
  ):
      """Create the FunctionIOCatalogEntry object for each column definition provided
  
      Arguments:
          col_list(List[ColumnDefinition]): parsed input/output definitions
          is_input(bool): true if input else false
      """
      if isinstance(col_list, ColumnDefinition):
          col_list = [col_list]
  
      result_list = []
      for col in col_list:
          assert (
              col is not None
          ), "Empty column definition while creating function io"
          result_list.append(
              FunctionIOCatalogEntry(
                  col.name,
                  col.type,
                  col.cci.nullable,
                  array_type=col.array_type,
                  array_dimensions=col.dimension,
                  is_input=is_input,
              )
          )
      return result_list
  
imports: import typing
  from typing import List, Tuple
  from evadb.catalog.catalog_utils import get_table_primary_columns
  from evadb.catalog.models.column_catalog import ColumnCatalogEntry
  from evadb.catalog.models.function_io_catalog import FunctionIOCatalogEntry
  from evadb.catalog.models.function_metadata_catalog import FunctionMetadataCatalogEntry
  from evadb.constants import CACHEABLE_FUNCTIONS, DEFAULT_FUNCTION_EXPRESSION_COST
  from evadb.expression.abstract_expression import AbstractExpression, ExpressionType
  from evadb.expression.constant_value_expression import ConstantValueExpression
  from evadb.expression.expression_utils import conjunction_list_to_expression_tree, contains_single_column, get_columns_in_predicate, is_simple_predicate, to_conjunction_list
  from evadb.expression.function_expression import FunctionExpression, FunctionExpressionCache
  from evadb.expression.tuple_value_expression import TupleValueExpression
  from evadb.parser.alias import Alias
  from evadb.parser.create_statement import ColumnDefinition
  from evadb.utils.kv_cache import DiskKVCache
label_desc: Use image node_id 1 for calling a global function with example usage: column_definition_to_function_io(col_list, is_input) and returns: result_list