code: def __init__(self, val=None, multi=False) -> None:
      self.num_calls = 0
      self.val = val
      self.multi = False
  
imports: import time
  from pathlib import Path
  import logging
  import os
  import numpy
  import nevergrad
  import nevergrad.common.typing
  from .None import optimizerlib
  from .None import callbacks
label_desc: Use image node_id 1 to create a new _EarlyStoppingTestee object  with example: obj = _EarlyStoppingTestee(val, multi)