Any person who willfully assists any inmate of any public training school or reformatory to escape, or in an attempt to escape from that public training school or reformatory is punishable by imprisonment pursuant to subdivision (h) of Section 1170, and fine not exceeding ten thousand dollars ($10,000).