Question: can yes be a question?
Answer: Yes–no question. In linguistics, a yes–no question, formally known as a polar question or a general question is a question whose expected answer is either "yes" or "no". Formally, they present an exclusive disjunction, a pair of alternatives of which only one is acceptable.