Detecting signal loss

Hey guys, I am new to VEX. I’m working on a project and one of the tasks is to detect a signal loss and cut down all the power to the vehicle. I’ll be using 4 motors for my robot. I’m wondering if there is a way to detect a signal loss using RobotC or any kind of sensors?

When VEXnet loses connection the motors will automatically be stopped when using the competition template. The boolean “bVEXNETActive” can also be used to test if there is a valid VEXnet connection.