docs: def nvmlDeviceGetRetiredPagesPendingStatus(device):
      r"""
      /**
       * Check if any pages are pending retirement and need a reboot to fully retire.
       *
       * For Kepler &tm; or newer fully supported devices.
       *
       * @param device                            The identifier of the target device
       * @param isPending                         Reference in which to return the pending status
       *
       * @return
       *         - \ref NVML_SUCCESS                 if \a isPending was populated
       *         - \ref NVML_ERROR_UNINITIALIZED     if the library has not been successfully initialized
       *         - \ref NVML_ERROR_INVALID_ARGUMENT  if \a device is invalid or \a isPending is NULL
       *         - \ref NVML_ERROR_NOT_SUPPORTED     if the device doesn't support this feature
       *         - \ref NVML_ERROR_GPU_IS_LOST       if the target GPU has fallen off the bus or is otherwise inaccessible
       *         - \ref NVML_ERROR_UNKNOWN           on any unexpected error
       */
      nvmlReturn_t DECLDIR nvmlDeviceGetRetiredPagesPendingStatus
      """
      c_pending = _nvmlEnableState_t()
      fn = _nvmlGetFunctionPointer("nvmlDeviceGetRetiredPagesPendingStatus")
      ret = fn(device, byref(c_pending))
      _nvmlCheckReturn(ret)
      return int(c_pending.value)