Future<bool> isModelCached() async { try { final res = await _isSherpaModelCached().toDart; if (res != null && res is JSBoolean) { return res.toDart; } } catch (_) {} return false; }