Unfortunately - not necessarily. The problem is that when the aircraft is powered up its only information on its heading (i.e. the direction it's facing) is from the compass. If the earth's magnetic field is locally distorted by ferromagnetic material then, unless the magnetic field is clearly wrong, the FC will accept the indicated heading and initialize the IMU yaw value, and it has no way to know that's not the correct value.
The important test, which is not suggested anywhere by DJI, is to check that the aircraft orientation arrow on the map is pointing in the same direction, relative to north, that the aircraft is actually facing. I try to start the aircraft exactly facing one of the cardinal directions (use your phone compass to align) so that it's easy to check on the map.