def max_num_generation_reached(generation_count, max_generations):
    """ This function returns True if the maximum number of generations is reached.

    :param generation_count: (int) Number (count) of the current generation.
    :param max_generations: (int) Maximum number of generations.
    :return:
        (bool) True if the maximum number of generations is reached.
    """
    return generation_count >= max_generations