• Checks if the collection service is currently running

    Determines whether the background metrics collection service is actively running and scheduled. Useful for UI indicators or to prevent duplicate service initialization.

    Returns boolean

    True if collection service is active, false otherwise

    // Check collection status before attempting to start
    if (!isSkipMetricsCollectionActive()) {
    await startSkipMetricsCollection();
    }
    export function isSkipMetricsCollectionActive(): boolean {
    return isCollecting;
    }