def _format_visibility(data):

    if data:
        return 'public'
    else:
        return 'private'
Authenticate.
dataset/ETHPy150Open dtroyer/python-openstackclient/openstackclient/image/v1/image.py/_format_visibility--crossover with--dataset/ETHPy150Open softlayer/softlayer-python/SoftLayer/managers/messaging.py/QueueAuth.auth