A metaphor is a phrase that is symbolic of something else, in that way, a metaphor for prison would be something that describes being confined, such as a cage or an airtight container.
skin-tight prison
her home was a prison.
For dad, a trip to the mall just before the holiday season is worse than a lengthy prison sentence. Having to enroll in summer school was nothing short of a prison sentence for him.
Of the disinherited of life, for whom there is no respite and no deliverance, to whom the world is a prison, a dungeon of torture, a tomb!
Its a metaphor
it is neither, it is personification
metaphor
Implied metaphor is when it gives you the metaphor but doesn't tell what the subject is. A regular metaphor tells you the subject of it.
Metaphor
What is a metaphor???Answer: To keep the cows in!!!!Metaphor~ meadow for??get it??? LOL
Metaphor
An explicit metaphor is a metaphor that is fully explained in great detail. Unlike an implicit metaphor, which the meaning has to be implied.