code: def from_bool(value):
      '''
      Convert zfs bool to python bool
      '''
      if value in ['on', 'yes']:
          value = True
      elif value in ['off', 'no']:
          value = False
      elif value == 'none':
          value = None
  
      return valuf from_bool(value):
      '''
      Convert zfs bool to python bool
      '''
      if value in ['on', 'yes']:
          value = True
      elif value in ['off', 'no']:
          value = False
      elif value == 'none':
          value = None
  
      return value
docs: Convert zfs bool to python bool