def needs_more_slaves(self):
        if self._num_executors_allocated >= self._max_executors:
            return False
        if self._build._unstarted_subjobs.empty():
            return False
        if self._num_executors_allocated >= len(self._build.all_subjobs()):
            return False
        return True
Return True if the build is pending.
dataset/ETHPy150Open box/ClusterRunner/app/master/build_scheduler.py/BuildScheduler.needs_more_slaves--crossover with--dataset/ETHPy150Open m-vdb/github-buildservice-boilerplate/buildservice/models/build.py/Build.is_pending