The package was cold, ice pack frozen, etc. when you received it. But the big question is whether it stayed cold the whole time. There are temperature monitoring labels such as this one:

(I have never used this particular one, just found it in a search, there are many manufacturers of similar items.)
But residential shipments don't necessarily have such things.
The other useful clue is the "ice pack".
If it contains dry ice (solid CO2), it will sublimate over time and the packs will be partly or fully empty if the temperature has risen too high for too long. But again, residential deliveries are probably less likely to use dry ice due to handling concerns.
If it contains water ice but is well sealed, it will melt if the temperature has risen too high for too long, but it will refreeze if the temperature is cold enough for long enough. If the pack normally has "cubes", a refreeze will be obvious because the pack will feel differently (single blob instead of "cubes").
If it contains some other liquid/solid, all bets are off. Many "ice packs" contain a liquid that can be frozen/melted/refrozen numerous times with no obvious effects.