Thermal history during shipping is different for every vial, so a lot that experienced thermal abuse may have internal variation even if it was originally homogeneous.
Testing a vial that has been open in the lab for three months is testing aged material, not the fresh lot, and the result should be explicitly noted as a retest.
For a quantitative result like content, the acceptable range determines how many vials you need to test to establish the lot complies.
Published data on lot homogeneity from manufacturers who sample multiple vials consistently find variation below the published specifications, suggesting the sampling plans work.
The caveat is that sampling is a trade-off between cost and confidence, and neither test nor assumption is cost-free.
Assume segregation is possible, and design your sampling to catch it if it exists.