#pragma warning disable 1998 // considered for removal async Task CheckTranslateRunning(BoxView box) #pragma warning restore 1998 { Debug.WriteLine(box.AnimationIsRunning("TranslateTo") ? "Translate is running" : "Translate is not running"); }