Disulfide driven folding for a conditionally disordered protein