Is An Idiom Figurative Language?

Is an idiom a metaphor?

.