Please add support for a "return" statement that can be used in the middle of a function

Please add support for a "return" statement that can be used in the middle of a function

I'd really appreciate the ability to use a validity test near the beginning of a Deluge function and exit the function early if the test fails.  That is, support a "return" keyword that immediately exits the function.  This helps avoid messy concentric indentions.  Using this return statement would look like this:

  1. void automation.changeRecord(string record_id)
  2. {
    1. if (record_id=="bad record") 
    2. {
      1. return;
    3. }
    4. ... do stuff on valid records
  3. }

The programming concept is called "early return" if you want to look up why it's helpful.

Thanks
Clark

PS I know there is a Return function but that can only be used in functions that return a value.
PPS This forum software added the "outline" numbers to my code block.  Don't know why.
PPPS this functionality has been requested multiple times as far back as 15 years!