<human>: Q: What city did Jayapala invade at least twice?
 A: Jayapala saw a danger in the consolidation of the Ghaznavids and invaded their capital city of Ghazni both in the reign of Sebuktigin and in that of his son Mahmud, which initiated the Muslim Ghaznavid and Hindu Shahi struggles.
 Does the answer correctly answer the question

OPTIONS:
- yes
- no
<bot>: yes