class_docstr: Common class for action criterion that are based on trial information.
class_docstr_tok: ["Common","class","for","action","criterion","that","are","based","on","trial","information","."]
docstr: Returns if this criterion has been met given its constraints.
docstr_tok: ["Returns","if","this","criterion","has","been","met","given","its","constraints","."]
code: def is_met(
      self,
      experiment: Experiment,
      trials_from_node: Optional[Set[int]] = None,
      block_continued_generation: Optional[bool] = False,
  ) -> bool:
      """Returns if this criterion has been met given its constraints."""
      return (
          self.num_contributing_to_threshold(
              experiment=experiment, trials_from_node=trials_from_node
          )
          >= self.threshold
      )
  
imports: from abc import abstractmethod
  from logging import Logger
  from typing import List, Optional, Set
  from ax.core.base_trial import TrialStatus
  from ax.core.experiment import Experiment
  from ax.exceptions.generation_strategy import MaxParallelismReachedException
  from ax.modelbridge.generation_strategy import DataRequiredError
  from ax.utils.common.base import SortableBase
  from ax.utils.common.logger import get_logger
  from ax.utils.common.serialization import SerializationMixin, serialize_init_args
label_desc: Use image node_id 6 for calling the TrialBasedCriterion obj's underlying member method code with example usage: obj.is_met(experiment, trials_from_node, block_continued_generation) and returns: unknown