You can tell if your iPhone is a replacement device by checking the Model Prefix in the Model Identifier. If the Model Prefix starts with "N", then it was provided as a replacement device for a malfunctioning iPhone.