In its literal interrogative use, hal equally asks for identification and assent.

Interrogation (al-Istifhām): Particles, Conception, Assent and Rhetorical Uses