Determining a 302 based engine from a 351 is pretty easy. A couple of simple measurements will give you the answer.

Measuring displacement is a lot more difficult without taking the engine apart. There's a special tool I've see used in tech inspections, but I have no idea where to get one.