private bool IsBFrame(string lineItem) { if (lineItem.Contains("frame B")) return true; else return false; }