public bool CheckLibraryName(string name) { bool res = true; foreach (LibraryWrapper lib in m_helper.Libraries) { if (lib.Name == name) res = false; } return res; }