Leia quoted The Automatic Detective by A. Lee Martinez
Of course, they'd known I was Lying. That was okay. It was one of the marks of sentience, the ability to distinguish reality from fantasy and still indulge in fantasy. In other words: I Lied, therefore I thought. For whatever reason, I always felt bad among Less fortunate robots. Even an old Mark Three that, from what I could tell, would've been a real exhaust port.
— The Automatic Detective by A. Lee Martinez (Page 43)
That is one of the interesting things with this book. The question of sentience and what make something a being rather than an object.