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

import argparse

def _cast_input_to_boolean(input_string):
    """Cast input string to boolean.

    """
    if input_string == "True":
        return True
    elif input_string == "False":
        return False
    else:
        raise argparse.ArgumentTypeError("Invalid input string {}".format(input_string))

# Enter the input string
input_string = "True"

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

#Example Output
# True

#Remember to inspect code for bugs.