code: def __init__(self, is_pruning: bool) -> None:
      self.is_pruning = is_pruning
  
imports: from __future__ import annotations
  import optuna
label_desc: Use image node_id 1 to create a new DeterministicPruner object from inherited base classes: optuna.pruners with example: obj = DeterministicPruner(is_pruning)