@staticmethod
    def bool2txt(var):
        """Map True to 'true'
        and False to 'false'
        else don't modify value
        """
        if var is True:
            return 'true'
        elif var is False:
            return 'false'
        return var
dataset/ETHPy150Open plivo/plivohelper-python/plivohelper.py/Element.bool2txt/original