Yes, the movie is based on the novel "A Slight Trick of the Mind" by Mitch Cullin. The book takes a unique approach to the character of Sherlock Holmes, exploring his life in retirement and the challenges he faces as he grapples with aging and memory loss.