The read-only pictureInPictureEnabled property of the available.
pictureInPictureEnabled
MDN Reference