which is an example of an implied metaphor?

the superintendent is a veritable dictator.
the car was like a lemon on wheels.
the alarm chirped its greeting at dawn.
the ants are small soldiers marching.

the ants are small soldiers marching.