def string_to_boolean(string):
    """Converts input string of True or False to a boolean True or False"""

    string = string.lower().strip()
    true_strings = ["true", "t"]
    false_strings = ["false", "f"]
    if string in true_strings: return True
    elif string in false_strings: return False
    raise ValueError("Bad Boolean Value: " + string)