Conditions of military contestation in populist Latin America