private bool IsUndoCheckOutAllowed() { if (!IsDefaultView() || FileManager.SelectedItems.Count == 0) { return(false); } return(!FileManager.SelectedItems.Any(file => !FileSystemUtility.CanUndoCheckOut(file))); }