public static bool AnyUploading() { foreach(SynchronizerUnit unit in synchronizerUnits.Values){ if (unit.IsUploading) { return true; } } return false; }