The characters were debating about whether they were dreaming or not, and one character suggested opening a book in the library and flipping through the pages; if it were really a dream, their subconscious would not be able to create a plausible story or even logical sentences, and it would prove that they are dreaming.