def ui_type_yesno(self, value=None, enum=False, reverse=False):
        if reverse:
            if value is not None:
                return value
            else:
                return 'n/a'
        type_enum = ('Yes', 'No')
        syntax = '|'.join(type_enum)
        if value is None:
            if enum:
                return type_enum
            else:
                return syntax
        elif value in type_enum:
            return value
        else:
            raise ValueError("Syntax error, '%s' is not %s."
                             % (value, syntax))
Produce a conjunction of expressions joined by ``AND``.
dataset/ETHPy150Open agrover/targetcli-fb/targetcli/ui_node.py/UINode.ui_type_yesno--crossover with--dataset/ETHPy150Open goFrendiAsgard/kokoropy/kokoropy/packages/sqlalchemy/sql/elements.py/BooleanClauseList.and_