code: def get_pending(self):
      return np.nonzero(
          (self.status == SUBMITTED_STATE)
          | (self.status == RUNNING_STATE)
      )[0]
  
imports: import os
  import sys
  import tempfile
  import pickle
  import numpy
  import numpy.random
  from .spearmint_pb2 import *
  from .Locker import *
  from .sobol_lib import *
  from .helpers import *
  import logging
label_desc: Use image node_id 8 for calling the ExperimentGrid obj's underlying member method code with example usage: obj.get_pending() and returns: np