In practice, it may be possible to somewhat reliably measure a difference in deceleration rolling the ball towards an end of the hall vs towards its center.
And of course, if one also has a scale, the weight of the ball can be used to see whether the floor is level.