There's a website (think it's have I been trained or something like that, I remember it being similar to have I been pwned) where you can check to see if they stole your art but I don't know about writing.
Would AI companies go out of business if they were forced to identify and compensate everyone whose data they trained on without permission?
RE: Pay You, Pay Me