def select_latest(exps):
    """ Select the most recent experiment from an iterable of experiments. """
    se = sorted(exps, key=lambda exp: exp.timestamp, reverse=True)
    if len(se) == 0:
        return None
    return se[0]