How to check ir sensor is working or not