def represent_bool(self, data):
        if data:
            value = u'yes'
        else:
            value = u'no'
        return self.represent_scalar('tag:yaml.org,2002:bool', value)
Represent bool as 'yes' or 'no' instead of 'true' or 'false'.
dataset/ETHPy150Open beetbox/beets/beets/util/confit.py/Dumper.represent_bool