isAnyModelInstalled method
Checks if ANY model of the given type is installed
Implementation
@override
Future<bool> isAnyModelInstalled(ModelManagementType type) async {
await _ensureInitialized();
try {
final files = await getInstalledModels(type);
return files.isNotEmpty;
} catch (e) {
debugPrint('UnifiedModelManager: Failed to check if any model is installed for type $type: $e');
return false;
}
}