Wa Alaikum Assalaam brother
Glad to know that you liked the thread & invested your precious time in reading it.
Yes g, appearance wise all these A series engines are same. 5afe feels a bit smaller than 4a & 7a that's why one can easily spot it.
If you want to be sure about the engine model, you just need to look at the engine number stamped on the engine block, you will find engine model along with engine number. That's the most authentic way to confirm about the engine model.
The engine number is stamped into the block, to the right of the exhaust manifold. You will most likely have to take off the heat-shield in order to see it. You'll also have to get down quite low as it is engraved vertically.
Here's some photos of the one on my car to show you where it is:
BTW, I took these reference pics from another forum just to give a better understanding.