If this is how you've presented the question, Its a bit hard to answer it when one hasn't read these books. It'd be best if you'd put both books into a summary for us to go based off of, at most.
It's a metaphor.
To help you understand why, here's the definitions of both:
Simile: it's a <span>figure of speech involving the comparison of one thing with another thing of a different kind, it's used to make writing seem more vivid.
Metaphor: this is also a</span><span> figure of speech in which a word or phrase is applied to an object or action to which it is not literally applicable.
</span><span>
</span>
Start answering here...............................