in Robotic Process Automation by
If something is open or closed in the system then it is informed by followoing sensor

i) Contact Sensor

ii) Inertial Sensor

iii) Sonar Sensor

iv) Biosensor
...