bool ModelInQueue(EditorModel model) { return(Work.Any(z => z.Model == model && z.Status == BatchWorkStatus.Pending || z.Status == BatchWorkStatus.Running)); }