def get_unlisted_setting(request):
    """ Given a request object, return the resulting `unlisted` setting.
        - True if set to "true"
        - False if set to false nor not set at all
    """

    if 'X-Unlisted' in request.headers and \
            request.headers.get('X-Unlisted') == 'true':
        return True
    return False