// HasQueue returns true if a queue exists for the given execution key.
// This is used by other schedulers to check if they should route tasks here.
s.mu.Lock()
defer s.mu.Unlock()
_, exists := s.queues[key]
return exists
}
// TrySubmit adds a task to its execution's queue without blocking.