def to_bool(value):
    '''
    Convert python bool to zfs on/off bool
    '''
    value = from_bool(value)