What is a habitual offender in Iowa?

An habitual offender is any person convicted of a class “C” or a class “D” felony, who has twice before been convicted of any felony in a court of this or any other state, or of the United States.