class_docstr: Interface class to handle the execution of SMAC configurations.
  This interface defines how to interact with the SMBO loop.
  The complexity of running a configuration as well as handling the results is abstracted to the
  SMBO via an AbstractRunner.
  
  From SMBO perspective, launching a configuration follows a
  submit/collect scheme as follows:
  
  1. A run is launched via ``submit_run()``
  
     - ``submit_run`` internally calls ``run_wrapper()``, a method that contains common processing functions among
       different runners.
     - A class that implements AbstractRunner defines ``run()`` which is really the algorithm to
       translate a ``TrialInfo`` to a ``TrialValue``, i.e. a configuration to an actual result.
  2. A completed run is collected via ``iter_results()``, which iterates and consumes any finished runs, if any.
  3. This interface also offers the method ``wait()`` as a mechanism to make sure we have enough
     data in the next iteration to make a decision. For example, the intensifier might not be
     able to select the next challenger until more results are available.
  
  Parameters
  ----------
  scenario : Scenario
  required_arguments : list[str]
      A list of required arguments, which are passed to the target function.
class_docstr_tok: ["Interface","class","to","handle","the","execution","of","SMAC","configurations",".","This","interface","defines","how","to","interact","with","the","SMBO","loop",".","The","complexity","of","running","a","configuration","as","well","as","handling","the","results","is","abstracted","to","the","SMBO","via","an","AbstractRunner",".","From","SMBO","perspective",",","launching","a","configuration","follows","a","submit\/collect","scheme","as","follows",":","1",".","A","run","is","launched","via","``","submit_run","(",")","``","-","``","submit_run","``","internally","calls","``","run_wrapper","(",")","``",",","a","method","that","contains","common","processing","functions","among","different","runners",".","-","A","class","that","implements","AbstractRunner","defines","``","run","(",")","``","which","is","really","the","algorithm","to","translate","a","``","TrialInfo","``","to","a","``","TrialValue","``",",","i.e",".","a","configuration","to","an","actual","result",".","2",".","A","completed","run","is","collected","via","``","iter_results","(",")","``",",","which","iterates","and","consumes","any","finished","runs",",","if","any",".","3",".","This","interface","also","offers","the","method","``","wait","(",")","``","as","a","mechanism","to","make","sure","we","have","enough","data","in","the","next","iteration","to","make","a","decision",".","For","example",",","the","intensifier","might","not","be","able","to","select","the","next","challenger","until","more","results","are","available",".","Parameters","--","--","--","--","--","scenario",":","Scenario","required_arguments",":","list","[","str","]","A","list","of","required","arguments",",","which","are","passed","to","the","target","function","."]
docstr: Whether there are trials still running.
  
  Generally, if the runner is serial, launching a trial instantly returns its result. On
  parallel runners, there might be pending configurations to complete.
docstr_tok: ["Whether","there","are","trials","still","running",".","Generally",",","if","the","runner","is","serial",",","launching","a","trial","instantly","returns","its","result",".","On","parallel","runners",",","there","might","be","pending","configurations","to","complete","."]
code: def is_running(self) -> bool:
      """Whether there are trials still running.
  
      Generally, if the runner is serial, launching a trial instantly returns its result. On
      parallel runners, there might be pending configurations to complete.
      """
      raise NotImplementedError
  
imports: from __future__ import annotations
  from abc import ABC, abstractmethod
  from typing import Any, Iterator
  import time
  import traceback
  import numpy
  from ConfigSpace import Configuration
  from smac.runhistory import StatusType, TrialInfo, TrialValue
  from smac.scenario import Scenario
  from smac.utils.logging import get_logger
label_desc: Use image node_id 8 for calling the AbstractRunner obj's underlying member method code with example usage: obj.is_running() without return types