code: def set_oem_capping_enabled(self, enable):
          
          # 1 - Enable power capping(default)
          if enable:
              statecode = 1
          # 0 - Disable power capping
          else:
              statecode = 0
          if self.has_tsm:
              self.ipmicmd.xraw_command(netfn=0x3a, command=0x1a,
                                        data=(3, statecode))
              return True
docs: Set PSU based power capping
  
          :param enable: True for enable and False for disable