public boolean contains(BoundEntity ent){
  SearchEntry compare=new SearchEntry(ent.getRef(),ent.getProvider());
  if (ent instanceof Song) {
    return mAllSongs.contains(compare);
  }
 else   if (ent instanceof Artist) {
    return mAllArtists.contains(compare);
  }
 else   if (ent instanceof Album) {
    return mAllAlbums.contains(compare);
  }
 else   if (ent instanceof Playlist) {
    return mAllPlaylists.contains(compare);
  }
  return false;
}

public boolean contains ( BoundEntity ent ) { SearchEntry compare = new SearchEntry ( ent . getRef ( ) , ent . getProvider ( ) ) ; if ( ent instanceof Song ) { return mAllSongs . contains ( compare ) ; } else if ( ent instanceof Artist ) { return mAllArtists . contains ( compare ) ; } else if ( ent instanceof Album ) { return mAllAlbums . contains ( compare ) ; } else if ( ent instanceof Playlist ) { return mAllPlaylists . contains ( compare ) ; } return false ; }
returns whether or not the search results contains the provided entity
