code: def _check_cutoff_time_type(cutoff_time, es_time_type):
      """
      Check that the cutoff time values are of the proper type given the entityset time type
      """
      # Check that cutoff_time time type matches entityset time type
      if isinstance(cutoff_time, tuple):
          cutoff_time_value = cutoff_time[0]
          time_type = _check_time_type(cutoff_time_value)
          is_numeric = time_type == "numeric"
          is_datetime = time_type == Datetime
      else:
          cutoff_time_col = cutoff_time.ww["time"]
          is_numeric = cutoff_time_col.ww.schema.is_numeric
          is_datetime = cutoff_time_col.ww.schema.is_datetime
  
      if es_time_type == "numeric" and not is_numeric:
          raise TypeError(
              "cutoff_time times must be numeric: try casting "
              "via pd.to_numeric()",
          )
      if es_time_type == Datetime and not is_datetime:
          raise TypeError(
              "cutoff_time times must be datetime type: try casting "
              "via pd.to_datetime()",
          )
  
imports: import logging
  import os
  import typing
  import warnings
  from datetime import datetime
  from functools import wraps
  import numpy
  import pandas
  import psutil
  from woodwork.logical_types import Datetime, Double
  from featuretools.entityset.relationship import RelationshipPath
  from featuretools.feature_base import AggregationFeature, DirectFeature
  from featuretools.utils import Trie
  from featuretools.utils.gen_utils import Library, import_or_none, is_instance
  from featuretools.utils.wrangle import _check_time_type, _check_timedelta
label_desc: Use image node_id 10 for calling a global function with example usage: _check_cutoff_time_type(cutoff_time, es_time_type) without return types