permissionState

The permissionState() method of the PushManager interface returns a Promise that resolves to a string indicating the permission state of the push manager.

MDN Reference