            return true
        }
        return false
    }

    function isE2EFlaked(eventInterval) {
        if (eventInterval.source === "E2ETest" && eventInterval.message.annotations["status"] === "Flaked") {
            return true
        }
        return false
    }

    function isE2EPassed(eventInterval) {
        if (eventInterval.source === "E2ETest" && eventInterval.message.annotations["status"] === "Passed") {
            return true
        }
        return false
    }

    function isGracefu