Hi coldseeker
In short yes, it stops oil draining back in the off cycle or reduced loading. Inverted P Traps are also used on some cooling towers to stop all the water in the pipe draining each time the pump shuts down.