"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.checkEventFinished = void 0;
function checkEventFinished(event) {
    if (event && !event.running) {
        return new Date().getTime() > new Date(event.end_date || event.start_date).getTime();
    }
    return false;
}
exports.checkEventFinished = checkEventFinished;
