code: def read(pin):
      '''read the pin value
  
      Returns:
          bool: 0 or 1
      '''
      f = _open[pin].value
      out = int(_read(f))
      log.debug("Read {0}: {1}".format(pin, out))
      return ouf read(pin):
      '''read the pin value
  
      Returns:
          bool: 0 or 1
      '''
      f = _open[pin].value
      out = int(_read(f))
      log.debug("Read {0}: {1}".format(pin, out))
      return out
docs: read the pin value
  
      Returns:
          bool: 0 or 1