if (vendors.findIndex(item => item.Name == "Magenic") == -1) { //not found item } else { //found item }