OBSTACLE_DISTANCE_3D in AC 4.1

is the OBSTACLE_DISTANCE_3D functionality for simple object avoidance also supported in AltHold mode or should I better use the OBJECT_DISTANCE message in AltHold as in AC 4.0.x?
It’s not clear to me from the Arducopter documentation.
Thanks and happy new year to everyone!