What is the key first question when distinguishing metonymy from metaphor?

Literal and Figurative Usage: Metonymy and Types of Metaphor