Defines validation logic to be executed before the command is run.
The block of validation logic to execute.