How to check if a switch is in fault

How to check if a switch is in fault –