You could do that with an if statement.

I'm not against the functionality you're proposing only the syntax. Every other construct has { } code blocks, this should follow suit.