def bts(boolean, y="Y", n="N"):
    """
    Converts a boolean value to a string
    :param boolean: The boolean to be converted
    :param y: [string] the value to be returned if boolean is True
    :param n: [string] the value to be returned if boolean is False
    :return [string]:    
    """
    if boolean:
        return y
    return n