import statistics


def found_convergence(validation_accuracy):
    """Given validation accuracy, return bool defining if convergence has been reached: <=5% change in last 10 points"""
    last_ten = validation_accuracy[-10:]
    diffs = []
    for x in range(9):
        d = last_ten[x+1] - last_ten[x]
        diffs.append(abs(d))
    ave_diff = statistics.mean(diffs)
    if ave_diff >= .05:
        return False, ave_diff
    else:
        return True, ave_diff