leaveDuration() {
            if (typeof this.duration === 'object' && this.duration.constructor === Object) {
                return this.duration.leave;
            }