~かと思う (wonder if)
grammar2 sentences
The pattern [question]+かと思う, 'to wonder if X / to think whether X / a tentative or doubtful framing of a thought.' The か marks the embedded question, と marks it as the content of thought, and 思う supplies the cognition.