public bool HasTask(object task) { lock( _sync ) { return _task_to_workers.ContainsKey(task); } } /**