If it is not a "pre 1930's" Steinway or Baldwin, It's ain't real ivory. Steinway still makes a very, very few pianos with "real" ivory laminated keys, but those are made from non-endangered ivory (wart hog, et, al), and still laminated.
Very few pianos were ever made completely with elephant ivory (to my knowledge, VERY FEW grand pianos, Even fewer "special edition" baby grands and NO uprights) were EVER made with elephant Ivory. These special "baby grands" have a certificate hidden under the stringboard and are worth massive money, EVEN for a non-functioning piano.
Here's a tip!!!! IF it is a paino that they want you to "haul off", look at any broken keys. If it is real, elephant ivory, about 1/32 to 1/16 under the key will be another material. if it is laminated, there is a good chance that the top of the key it is real elephant ivory.
To this day, Steinway and Sons still makes (1 or 2, per year) pianos with full ivory keys. Those keys are made from wart hog tusks and they are certified and CRAZY expensive.
If someone is "giving you a piano to haul it off", IT AINT IVORY.
There are guys called "pickers" that travel the world looking for these 50-500 "rare" ivory pianos. So far, these "legendary" all ivory pianos are still unicorns.
Great Grandson of a piano maker (luthier) talking, here.