code: def should_stop_trials_early(
      self,
      trial_indices: Set[int],
      experiment: Experiment,
      **kwargs: Dict[str, Any],
  ) -> Dict[int, Optional[str]]:
      return {
          **self.left.should_stop_trials_early(
              trial_indices=trial_indices,
              experiment=experiment,
              **kwargs,
          ),
          **self.right.should_stop_trials_early(
              trial_indices=trial_indices,
              experiment=experiment,
              **kwargs,
          ),
      }
  
file_path: Ax/ax/early_stopping/strategies/logical.py
imports: from functools import reduce
  from typing import Any, Dict, Optional, Sequence, Set
  from ax.core.experiment import Experiment
  from ax.early_stopping.strategies.base import BaseEarlyStoppingStrategy
  from ax.exceptions.core import UserInputError
label_desc: Use image node_id 2 for calling the OrEarlyStoppingStrategy obj's underlying member method code with example usage: obj.should_stop_trials_early(trial_indices, experiment) and returns: dict