D.K.
I normally look for one with some yellow and sniff the bottom to see if it smells like a pineapple. Some won't have a smell at all. No idea if either of those is the best indication, but it seems to work. Some stores will also sell the ones that have been cored so you would be able to see the color and if looks good.