Activating LED on signal input=null

Please post the complete code.

I can see at least 3 conditions even in that unhelpful fragment. Which one is "this condition"?

Steve