To check if a variable is a moment duration object, use .

    1. moment.isDuration() // false
    2. moment.isDuration(moment()) // false
    3. moment.isDuration(moment.duration(2, 'minutes')) // true