code: def enough_time_for_model(self, model_type):
      if self._total_time_limit is None:
          return True
  
      time_left = self._total_time_limit - self.already_spend()
      spend = [
          s["train_time"]
          for s in self._spend
          if s["model_type"] == model_type
      ]
      model_mean_spend = np.mean(spend)
      return model_mean_spend <= time_left
  
file_path: mljar-supervised/supervised/tuner/time_controller.py
imports: import json
  import logging
  import time
  import numpy
  import pandas
  from supervised.utils.config import LOG_LEVEL
label_desc: Use image node_id 8 for calling the TimeController obj's underlying member method code with example usage: obj.enough_time_for_model(model_type) and returns: unknown, True