Thanks to visit codestin.com Credit goes to kotlinlang.org
Returns true, if the duration value is finite.
Thanks for your feedback!