을까 하고

wondering whether to; thinking about whether to

→ 이다
phrase Extremely common #273
wondering whether to; thinking about whether to Follows a verb stem to express considering or wondering about doing something.
KO: 점심으로 뭘 먹을까 하고 고민 중이에요.
EN: I’m wondering what to eat for lunch.