Open the Settings app and go to General > About. Here you will see the Model Number of your iPhone. If it starts with F, it means that it has been refurbished by Apple or a carrier.