Checks whether the
maxDuration
of this instance is set.
false if the maxDuration is null. Otherwise, it returns true.