def is_volume_pro_available():
    try:
        map = tvtk.VolumeProMapper()
    except AttributeError:
        return False
    else:
        return map.number_of_boards > 0
Returns `True` if there is a volume pro card available.
dataset/ETHPy150Open enthought/mayavi/mayavi/modules/volume.py/is_volume_pro_available