How to avoid iPhone 4 3,2?

I bought an iPhone 4 White 16GB from china, is there any way to know if it's an iPhone 3,1?