Can I loop over a Kotlin Sealed Class?

Can I loop over a Kotlin Sealed Class?