def second_runoff_poll_check(runoff_poll_warning, category_hoechstzahls,
    winning_topics):
    """
    Second runoff poll check: Check equal votes inside a category.
    """
    if not runoff_poll_warning:
        for number, hoechstzahl in enumerate(category_hoechstzahls):
            if number > 0:
                predecessor = category_hoechstzahls[number - 1]
                if (hoechstzahl.topic not in winning_topics and predecessor
                    .topic in winning_topics and hoechstzahl.topic.votes ==
                    predecessor.topic.votes and hoechstzahl.topic.weight ==
                    predecessor.topic.weight):
                    runoff_poll_warning = True
                    break
    return runoff_poll_warning
