can i specifically in code check whether pin is HIGH or LOW ?
yes, you can check it
Short that pin with another unused pin and use digitalRead(‘second_pin’)
Directly checking the status after using digitalWrite will always return LOW.
Hope this helps.
No, Due to limitations in harware of boltiot module it isn’t possible to check the status of a pin.
You can rather keep a variable which tracks the status of the pin.
Hope this helps!