validate_frontend_configuration is exactly check_command_execute, so just use it.
Attach a file by drag & drop or click to upload