def _boolify_envvar(val):
    """Interpret boolean environment variables.
    True whenever set/exported, even if value is an empty string,
    "null", or "none".
    """
    falsey = 'false', 'nil', 'no', 'off', '0'
    return (val if val is not None else 'false').lower() not in falsey
