function checkModuleUpdates() {
  // Get all installed modules
  const installedModules = Array.from(yamlKeysMap.keys());
  const updates = [];
  let updateCount = 0;
  
  // Get modules from store cache
  const cachedData = getCachedModuleData();
  if (!cachedData || !cachedData.modules || !cachedData.modules.length) {
    return { hasUpdates: false, updateCount: 0, modules: [] };
  }
  
  // Check each installed module
  installedModules.forEach(moduleId => {
    // Find module in store
    const storeModule = cachedData.modules.find(m => m.id === moduleId);
    if (storeModule && _hasModuleUpdate(moduleId, storeModule.version)) {
      updateCount++;
      updates.push({
        id: moduleId,
        name: storeModule.name || yamlKeysMap.get(moduleId).name || moduleId,
        currentVersion: yamlKeysMap.get(moduleId).version || '0',
        newVersion: storeModule.version
      });
    }
  });
  
  return {
    hasUpdates: updateCount > 0,
    updateCount,
    modules: updates
  };
}
Check if any installed modules have updates available
@returns {Object} Object containing information about updates