hasDuration

fun hasDuration(): Boolean

Returns true if a duration is not null and is greater than 0.