To detect whether both eyes are open or not