pictureInPictureEnabled

The read-only pictureInPictureEnabled property of the Document interface indicates whether or not picture-in-picture mode is available.

MDN Reference