Questions & Answers about Ŝi demandas, ĉu la fulmilo estas bezonata aŭ ne.
Ĉu marks a yes/no question. In this sentence, it introduces an indirect question: She asks whether / if the lightning device is needed or not.
So:
- Ĉu la fulmilo estas bezonata? = Is the fulmilo needed?
- Ŝi demandas, ĉu la fulmilo estas bezonata. = She asks whether the fulmilo is needed.
A common beginner mistake is to think ĉu only works in direct questions. It also works in indirect ones like this.
Because ĉu introduces a question, while se usually means if in a condition.
Compare:
- Mi ne scias, ĉu li venos. = I don’t know whether he will come.
- Se li venos, mi ĝojos. = If he comes, I will be happy.
In your sentence, the speaker is asking about a fact, not giving a condition, so ĉu is the correct word.