def has_other_option(tree): return utils.has_freebird_div(tree, "RadioOtherChoice")
def is_this_question(tree): return utils.has_freebird_div(tree, "TextLongText")
def has_year(tree): return utils.has_freebird_div(tree, "DateYearInput")
def has_time(tree): return utils.has_freebird_div(tree, "DateTimeInputs")
def test_exact_class_valid(self, tree, find_name): result = has_freebird_div(tree, find_name, exact=True) assert result is True
def is_this_question(tree): return utils.has_freebird_div(tree, "DateDateInput")
def test_not_exact_by_default(self, tree, find_name): result = has_freebird_div(tree, find_name) assert result is True
def test_valid(self, tree, find_name): result = has_freebird_div(tree, find_name) assert result is True
def test_does_not_contain(self, tree, find_name): result = has_freebird_div(tree, find_name) assert result is False
def is_this_question(tree): return utils.has_freebird_div(tree, "CheckboxChoice")
def has_other_option(tree): return utils.has_freebird_div(tree, "CheckboxOtherInputElement")