Unfortunately, there is no specific way to get it to identify which tracks are not in the Spotify library.
However, if you set all the metadata correctly (i.e. song name, album, artist) it will link it to a Spotify song for you.
Good Idea though! Feel free to submit it to the Ideas section so Spotify are aware of it.
This post was by Taylor - I do not work for Spotify! If this solved your issue - Mark it as a solution!If you like my post - Please add Kudos! || Spotify Profile - Taylor | Feel free to PM me - Here ||