You will be given a definition of a task first, then some input of the task.
You are given a sentence from a conversation between a human and a virtual assistant. Your task is to identify whether the sentence is a question or not. Answer with Yes or No.

Did you have a preferred restaurant and time?
Output:
Yes