improve flexibility of yes_or_no helper method