persisted

inline suspend fun StorageManager.persisted(): Boolean(source)

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

MDN Reference