def stopped(header):
    """ Test if header stopped sucessfully."""
    try:
        status = header.stop['exit_status']
    except KeyError:
        status = 'Python crash before exit'

    if status == 'success':
        return True
    else:
        return False