def get_latest_dump(dump_list):

    """Function:  get_latest_dump

    Description:  Return latest dump from a list of dumps based on epoch date.

    Arguments:
        (input) dump_list -> List of dumps from a repository
        (output) last_dump -> Name of latest dump

    """

    dump_list = list(dump_list)
    last_dump = None

    if dump_list:
        last_time = max([item['end_time_in_millis'] for item in dump_list])

        for dump in dump_list:
            if dump['end_time_in_millis'] == last_time:
                last_dump = dump['snapshot']
                break

    return last_dump