hasBeenActive

The read-only hasBeenActive property of the UserActivation interface indicates whether the current window has sticky user activation.

MDN Reference