Testing a sensor if it's working
This appears to be a thermal cut out. They can be either switches or fuses and this seems to be a fuse. So by disconnecting the fuse and measuring with an Ohm meter you should be able to tell if its working or not. Close to zero Ohm = fuse has not blown.