def convert_str_to_bool(s: str) -> bool:
    """
    Convert a string to a boolean
    :param s: either "true" or "false", case insensitive
    :return:
    """
    if s.lower() == "true":
        return True
    elif s.lower() == "false":
        return False
    else:
        raise ValueError(f"can't convert to bool {s}!")