Writers and playwrights often employ colloquial vocabulary though writing, and so you may often experience instances of colloquialism in books.