Verify through the proper authorities at the school.
I also had to go do community for my school, but it was more of a recommendation to prevent truancy than an actual "you have to do this or u can't come back to school", but just in case, I would ask the volunteer program or the new school he is going to.
He need to finish in case the truency oficcer ask,
Thanks! Your answer is awaiting moderation.