hasPreviousMediaItem

Indicates whether there's a previous media item available in the playlist before the current one.

This property checks if the current media item index (currentMediaItemIndex) is greater than 0. It returns true if there's at least one item before the current one, and false otherwise (including when the current index is 0, meaning it's the first item).