Displaying and working with Favorites in iOS app

New to iOS development and I've been trying to make heads or tails of the documentation. I know there is a difference between the data fields returned from songs from the user library and from the category, but whenever I search on the apple site I can't find a list of each. For example, Im trying to get the releaseDate of a song in my library, but it seems I'll have to cross-query either the catalog entry for the using song.catalogID or the song.irsc but when I try to use them I can't find a cross reference between the two. I'm totally turned around.

Also trying to determine if a song in my library has been favorited or not? isFavorited (or something similar) doesn't seem to be a thing. Using this code and trying to find a way to display a solid star if the song has been favorited or an empty one if it's not. Seems like a basic request but I can't find anything on how to do it. I've searched docs, googled, tried.

Does apple want us to query the user's Favorited Songs playlist or something? How do I know which playlist that is?

I know isFavorited isn't a thing, just using it here so you can see what my intension is:

HStack(spacing: 10) {
     Image(systemName: song.isFavorited ? "star.fill" : "star")
       .foregroundColor(song.isFavorited ? .yellow : .gray)
     Image(systemName: "magnifyingglass")    
}
Displaying and working with Favorites in iOS app
 
 
Q