You have to have the VIN to tell. The blocks are the same
6.0 LQ 9's came in the 02-up Escalades and 03-up SS Silverado's and some special order 05-07 Classic Silverado's V-MAX, all with 8th digit vin: "N"
6.0 LQ 4'S came in 01+ Denali's, 00+ Truck variant's, and Vans, all with 8th digit vin: "U"