human
Python program to cast input string to boolean.
assistant
Here is a Python program to cast input string to boolean

import urllib.parse

def cast_input_string_to_boolean(input_string):
    """
    :param input_string: input string
    :return: boolean
    """
    if input_string == "True":
        return True
    elif input_string == "False":
        return False
    else:
        return input_string

# Enter the input string
input_string = "True"

# Calling the function
print((cast_input_string_to_boolean(input_string)))

#Example Output
# True

#Remember to inspect code for bugs.