docs: def get_tpm_status(d_info):
      """Get the TPM support status.
  
      Get the TPM support status of the node.
  
      :param d_info: the list of ipmitool parameters for accessing a node.
      :returns: TPM support status
      """
  
      # note:
      # Get TPM support status : ipmi cmd '0xF5', valid flags '0xC0'
      #
      # $ ipmitool raw 0x2E 0xF5 0x80 0x28 0x00 0x81 0xC0
      #
      # Raw response:
      # 80 28 00 C0 C0: True
      # 80 28 00 -- --: False (other values than 'C0 C0')
  
      ipmicmd = ipmi_command.Command(bmc=d_info['irmc_address'],
                                     userid=d_info['irmc_username'],
                                     password=d_info['irmc_password'])
      try:
          response = _send_raw_command(ipmicmd, GET_TPM_STATUS)
          if response['code'] != 0:
              raise IPMIFailure(
                  "IPMI operation '%(operation)s' failed: %(error)s" %
                  {'operation': "GET TMP status",
                   'error': response.get('error')})
          out = ' '.join('{:02X}'.format(x) for x in response['data'])
          return out is not None and out[-5:] == 'C0 C0'
  
      except ipmi_exception.IpmiException as e:
          raise IPMIFailure(
              "IPMI operation '%(operation)s' failed: %(error)s" %
              {'operation': "GET TMP status", 'error': e})