def strToBool(string):
    """ Convert `"True"` and `"False"` to their boolean counterparts. """

    if string.lower() == "true":
        return True
    elif string.lower() == "false":
        return False
    else:
        err_str = f"{string} is not a boolean value!"
        raise ValueError(err_str)