//check if any vb in vbList is part of the given ts func checkVbListInTS(vbList []uint32, ts *protobuf.TsVbuuid) bool { for _, vb := range vbList { if ts.Contains(uint16(vb)) == true { return true } } return false }