To add on to what the other guy said, the library has a ledger which tells you who checked out each book. So the one in the ghost's cell...