def check_line_match(self, index, stripped, data_rows):
    'Find lines matching stripped from lineMatchKeys and set value to immediately following row'
    for (key, value) in self.lineMatches.items():
        if (stripped == key):
            next_row = data_rows[(index + 1)]
            if next_row.find_all('b'):
                print('Next row was bold element: {0}.  Skipping...'.format(next_row))
                return False
            next_row_stripped = next_row.text.strip()
            if (next_row_stripped in self.lineMatches):
                print('Next row was {0} and is in lineMatchKeys, skipping...'.format(next_row_stripped))
                return False
            self.attribute_dictionary[value] = json.dumps(next_row_stripped)
            print('Set {0} to {1}'.format(value, self.attribute_dictionary[value]))
            del self.lineMatches[key]
            return True
    return False
Find lines matching stripped from lineMatchKeys and set value to immediately following row
def check_line_match(self, index, stripped, data_rows):
    
    for (key, value) in self.lineMatches.items():
        if (stripped == key):
            next_row = data_rows[(index + 1)]
            if next_row.find_all('b'):
                print('Next row was bold element: {0}.  Skipping...'.format(next_row))
                return False
            next_row_stripped = next_row.text.strip()
            if (next_row_stripped in self.lineMatches):
                print('Next row was {0} and is in lineMatchKeys, skipping...'.format(next_row_stripped))
                return False
            self.attribute_dictionary[value] = json.dumps(next_row_stripped)
            print('Set {0} to {1}'.format(value, self.attribute_dictionary[value]))
            del self.lineMatches[key]
            return True
    return False