code: def check_hardware(self, expected):
          
  
          if len(expected) < 10:
              expected += '\0'*(10 - len(expected))
  
          err, = self.rpc(0x00, 0x03, expected, result_format="L")
          if err == 0:
              return True
  
          return False
docs: Make sure the hardware version is what we expect.
  
          This convenience function is meant for ensuring that we are talking to
          a tile that has the correct hardware version.
  
          Args:
              expected (str): The expected hardware string that is compared
                  against what is reported by the hardware_version RPC.
  
          Returns:
              bool: true if the hardware is the expected version, false otherwise