General question: check inside a condition if something is already true

Just a general question. Example ligth1 should go on, when door1 is opened.
Do you guys just implement this condition and action? Or dou you also check inside the condition if light1 is OFF?

So, If door1 is opend and ligth1 is OFF, then turn ON light1.

Why? Well maybe the ligth was already turned on by someone of somethings else. Or doesn’t make this any difference.

Hope you understand what and why I am thinking this way.

It all depends on what logic you are trying to implement. If light is on truning it on again will have no effect, but if you have other logic happening it may be necessary