The question that a reader can ask themselves to help detect dramatic irony is:
What have I learned that at least one character does not know?
This question helps identify situations where the audience has knowledge that the characters lack, which is the essence of dramatic irony.