hasAsync

fun hasAsync(cacheName: String): Promise<ERROR CLASS: Symbol not found for JsBoolean>(source)

The has() method of the CacheStorage interface returns a Promise that resolves to true if a Cache object matches the cacheName.

MDN Reference