docs: def set_secure_boot_mode(self, secure_boot_enable):
          """Enable/Disable secure boot on the server.
  
          :param secure_boot_enable: True, if secure boot needs to be
                 enabled for next boot, else False.
          :raises: IloError, on an error from iLO.
          :raises: IloCommandNotSupportedError, if the command is not supported
                   on the server.
          """
          if self._is_boot_mode_uefi():
              self._change_secure_boot_settings('SecureBootEnable',
                                                secure_boot_enable)
          else:
              msg = ('System is not in UEFI boot mode. "SecureBoot" related '
                     'resources cannot be changed.')
              raise exception.IloCommandNotSupportedInBiosError(msg)