Deactivate masterLayer with pymel

can’t found it on pymel docs, it’s posible?

thanks

What do you mean by deactivate? Make it not renderable?