def halt(population, generation_count):
    """
    Given a population of candidate solutions and generation count (the number
    of epochs the algorithm has run) will return a boolean to indicate if an
    acceptable solution has been found within the referenced population.
    """
    word_length = len(population[0].chromosome)
    return population[0].fitness == word_length or generation_count > 100