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