Added yes/no helper function