code: def check_power(self):
      
      state = self.check_power_raw()
      data = {}
      data['s1'] = bool(state & 0x01)
      data['s2'] = bool(state & 0x02)
      data['s3'] = bool(state & 0x04)
      data['s4'] = bool(state & 0x08)
      return data
docs: Returns the power state of the smart power strip.