Any person who willfully assists any inmate of any public training school or reformatory to escape, or in an attempt to escape from such public training school or reformatory is punishable by imprisonment in the state prison, and fine not exceeding ten thousand dollars ($10,000).