code: def from_early_stopping_strategies(
      cls,
      strategies: Sequence[BaseEarlyStoppingStrategy],
  ) -> BaseEarlyStoppingStrategy:
      if len(strategies) < 1:
          raise UserInputError("strategies must not be empty")
  
      return reduce(
          lambda left, right: OrEarlyStoppingStrategy(
              left=left, right=right
          ),
          strategies[1:],
          strategies[0],
      )
  
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 1 for calling the OrEarlyStoppingStrategy obj's underlying member method code with example usage: obj.from_early_stopping_strategies(cls, strategies) and returns: reduce