code: func (grm *goRoutineMap) nothingPending() bool {
  	nothingIsPending := true
  	for _, operation := range grm.operations {
  		if operation.operationPending {
  			nothingIsPending = false
  			break
  		}
  	}
  	return nothingIsPending
  }
docs: // Check if any operation is pending. Already assumes caller has the
  // necessary locks