BGE - Enable/Disbale Cast negative light is possible with python?

Hi i need enable Cast negative light in one point lamp with python. this is possible?

Pointlamp_cast_negative_light

Pointlamp_cast_negative_light2

if condition:
    light.energy = -light.energy

not sure if that setting cant be changed in game. maybe energy to a negative value?

OK thanks friend