Is solitary confinement cruel and unusual punishment for prisoners? When a person is convicted of a crime…