you can't really tell even with the serial number because the parts might be replaced (LCD assembly, speaker, camera, etc.). you can bring it to apple store.
But be sure that the person did not use the icloud to activated the phone, otherwise you'll be screwed. If it was, the person needs to deactivate it on the icloud so you can re-activate it.