Clear all lights from a node

is there a way to clear all lights from a node, instead of just specifying the light you want to clear ?

Guess you’re searching something like :

myObj.setLightOff()

that did the trick, thanks