[]
If latch is open (IlClosed is 'false'), closes it (IsClosed is 'true'), executes action, opens the latch. If latch is closed, does nothing.
public void ExecuteIfOpen(Action action)