Is dead as a doornail an idiom hyperbole or a simile?

It is actually an idiom.