Answer
You need to check if you are in an inertial reference frame.
Work Step by Step
If you hold a ball in front of you and release it, if it stays in place, your rocketship is moving at constant velocity.
If it “falls” toward one of the walls, accelerating as it goes, the direction it accelerates in is opposite to the direction of the rocketship’s acceleration.