def _format_visibility(data):

    if data:
        return 'public'
    else:
        return 'private'
Return a formatted visibility string
dataset/ETHPy150Open dtroyer/python-openstackclient/openstackclient/image/v1/image.py/_format_visibility