I think they were once upon a time, and the gangs ran the prisons. Before the new El Salvadoran president, the gangs did their own policing, had TVs, Cell phones and even prostitutes in the jail. Essentially the gangs were contained but not exactly a prison.
But if you read about CECOT, it is...