Simple. Took pair of pliers and try to snap them in half. Ceramic ones snap easily and you will clearly see piece of solid ceramic inside plastic or filled resin coating. These are monolithic ceramic caps or MLCCs, depending on which you happen to find. If you remove legs completely and ceramic is non magnetic - these are containing PMs - silver, and if you are lucky palladium.
If it is hard to snap, and you can see oval shaped roll of foils, to the bin they go - foil caps, just Al, practically worthless, no PMs.
Tantalum ones are mainly obvious, as they have distinct shapes and significant weight due to tantalum, But if you snap one, you will find silver electrode inside, usually coating crumbly tantalum piece. Some even aren´t silver, but lead alloy dipped pieces of tantalum-magnesium sponge.