I'm guessing the check valve is intended to stop the flow of water into the gas system.
Given the presence of students, it's inevitable that gascocks and faucets will be connected with rubber hoses, probably at least once a year per school.
Mike Halloran
Pembroke Pines, FL, USA