class_docstr: A class for performing operations on the AutoML algorithm runtime at the API level
  
  :param time_for_automl: time for AutoML algorithms in minutes
code: def have_time_for_composing(self, pop_size: int, n_jobs: int) -> bool:
      timeout_not_set = self.timedelta_composing is None
      return (
          timeout_not_set
          or self.assumption_fit_spend_time
          < self.timedelta_composing
          * n_jobs
          / (pop_size * MIN_NUMBER_OF_GENERATIONS)
      )
  
file_path: FEDOT/fedot/api/time.py
imports: import datetime
  from contextlib import contextmanager
  from typing import Optional
  from fedot.core.constants import COMPOSING_TUNING_PROPORTION, MINIMAL_PIPELINE_NUMBER_FOR_EVALUATION, MINIMAL_SECONDS_FOR_TUNING, MIN_NUMBER_OF_GENERATIONS
label_desc: Use image node_id 3 for calling the ApiTime obj's underlying member method code with example usage: obj.have_time_for_composing(pop_size, n_jobs) and returns: unknown