func (sc *schedule) allBlocksProcessed() bool {
	for _, state := range sc.blockStates {
		if state != blockStateProcessed {
			return false
		}
	}
	return true
}
// allBlockProcessed returns true if all blocks are in blockStateProcessed and
// determines if the schedule has been completed
allBlockProcessed returns true if all blocks are in blockStateProcessed and
determines if the schedule has been completed
// allBlockProcessed returns true if all blocks are in blockStateProcessed and // determines if the schedule has been completed
func (sc *schedule) allBlocksProcessed() bool {
	for _, state := range sc.blockStates {
		if state != blockStateProcessed {
			return false
		}
	}
	return true
}
func ( sc * schedule ) allBlocksProcessed ( ) bool { for _ , state := range sc . blockStates { if state != blockStateProcessed { return false } } return true }
allBlockProcessed returns true if all blocks are in blockStateProcessed and
determines if the schedule has been completed
allBlockProcessed returns true if all blocks are in blockStateProcessed and determines if the schedule has been completed