Add a validation check of the value printed from running python