Just to be clear: AR headspacing is determined by the bolt and the barrel/barrel extension assembly.
The upper, lower, bolt carrier, etc don't matter - only that trio of parts.
I think it would be unusual for a new bolt and barrel/barrel extension from reputable maker to be out of spec, but you could get unlucky. If the barrel/extension or bolt are used, I'd check. Heck, I check headspace even for new parts unless they were sold as a unit, e.g. a new complete upper or rifle, or matched bolt/barrel assembly, but I admit that's being pretty conservative.