"Even if" is an odd phrasing. Why would you expect that to be possible? LLMs don't have direct access to their training set. Having a book in the training set just means they emit text in the style of the book - it's not like a database they can query. But they can summarize very well, if the text is front of them.