class_docstr: Callback to ensure time limit is respected, otherwise early stops the model to avoid going over time.
  
  This callback is CatBoost specific.
  
  Parameters
  ----------
  time_start : float
      The starting time (usually obtained via `time.time()`) of the training.
  time_limit : float
      The time in seconds before stopping training.
code: def __init__(self, time_start, time_limit):
      self.time_end = time_start + time_limit
      self.time_start = time_start
  
file_path: autogluon/tabular/src/autogluon/tabular/models/catboost/callbacks.py
imports: import logging
  import time
  from autogluon.common.utils.resource_utils import ResourceManager
  from .catboost_utils import CATBOOST_QUANTILE_PREFIX
label_desc: Use image node_id 1 to create a new TimeCheckCallback object  with example: obj = TimeCheckCallback(time_start, time_limit)