isFinite

Returns true, if the duration value is finite.

Since Kotlin

1.6