def __init__(
      self,
      pre_act_label: str = DEFAULT_TERMINATE_PRE_ACT_LABEL,
  ):
    """Initializes the component.

    Args:
      pre_act_label: Prefix to add to the output of the component when called
        in `pre_act`.
    """
    super().__init__()
    self._pre_act_label = pre_act_label
    self._terminate_now = False
Initializes the component.

    Args:
      pre_act_label: Prefix to add to the output of the component when called
        in `pre_act`.
    
concordia/components/game_master/terminate.py