[smartlib] do_validation() check in validation step