You can also tell by the antenna line on the bottom next to the speaker holes, the iPhone X doesn’t have one at the bottom. :-)
open