Turn physics visualization on and off via python

how can i turn physics visualization on and off via python,so i can turn it on and off when the game is playing?
i dont know the code

As far as I know, no it is not possible.