RobotStudio event

Replicating functionality of [Robot Not On Path] System Output removed from Omnicore

Hallo,

how to check if robot is still on path before starting the robot movements?
For example after Emergency Stop.

On IRC5 we had "Robot Not On Path" system output,
but in Omnicore this signal is no longer present.

"Robot In Trusted Position" signal is not acceptable because i want to be able to move program pointer without triggering this signal.