Get a sample tested, only one way to confirm if it contains asbestos.
Others may have location experience on what was common in construction in your area. Age of the building may also help.
Edit. Lagging I would expect to be wrapped around the pipe but it looks like something packed into the gap and smeared over the brick. It could just be plaster and rovings to hold the pipe until it was tiled. Testing is the only way to confirm.