def string2bool(string_value):
    """

    :param string_value: A value to attempt to convert to a boolean.
    :return: True if "true","t",1,"yes","y", False if "false","f",0',"no,"n", else returns the original value
    """
    if string_value.lower() in ["true", "t", 1, "yes", "y"]:
        return True
    if string_value.lower() in ["false", "f", 0, "no", "n"]:
        return False
    return string_value