code: @Override
      public RelayState getState() {
          if(pin.isState(openState))
              return RelayState.OPEN;
          else
              return RelayState.CLOSED;
      }
docs: Return the current relay state based on the
  GPIO digital output pin state.
  
  @return PowerState