isInfinite

Returns true, if the duration value is infinite.

Since Kotlin

1.6