It is a metaphor. You can conclude this by first eliminating similes, similes must consist of words that use like or as. You can cross out idioms, Bc it isn't an everyday quote that you see. Like if you take "that was a piece of cake" that would be an idiom. Hope this helps!!