Are ChatGPT, Bard and Dolly 2.0 Trained On Pirated Content?

Is it true that ChatGPT, Bard and Dolly 2.0 are trained on text from pirated books?