for label in soup.findAll('table')[0].findAll('td', attrs={'class': 'labels'}):
    data_sibs = label.findNextSiblings(attrs={'class': 'site_data'})
if len(data_sibs) > 0:
    pass
Parsing HTML Tables with BeautifulSoup