@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
