persistedAsync

The persisted() method of the StorageManager interface returns a Promise that resolves to true if your site's storage bucket is persistent.

MDN Reference