docs: def get_secure_boot_mode(self):
          """Get the status of secure boot.
  
          :returns: True, if enabled, else False
          :raises: IloError, on an error from iLO.
          :raises: IloCommandNotSupportedError, if the command is not supported
                   on the server.
          """
          system = self._get_host_details()
  
          if ('links' not in system['Oem']['Hp'] or
             'SecureBoot' not in system['Oem']['Hp']['links']):
              msg = ('"SecureBoot" resource or feature is not supported'
                     ' on this system')
              raise exception.IloCommandNotSupportedError(msg)
  
          secure_boot_uri = system['Oem']['Hp']['links']['SecureBoot']['href']
  
          # get the Secure Boot object
          status, headers, secure_boot_settings = self._rest_get(secure_boot_uri)
  
          if status >= 300:
              msg = self._get_extended_error(secure_boot_settings)
              raise exception.IloError(msg)
  
          return secure_boot_settings['SecureBootCurrentState']