def to_boolean(input_string: str):
    """Returns True, False or None, based on the contents of the input_string (any form of capitalization is allowed)"""
    if input_string.lower() == "true":
        return True
    elif input_string.lower() == "false":
        return False
    else:
        return None