def _conf_string_to_bool(conf_string: str):
    """Normally in Python all non empty strings convert to True.
    We want it to not be as easy to accidentally turn on a configuration flag, so we only treat
    the explicit string "true" as True. Casing doesn't matter.
    """
    return conf_string.lower() == 'true'