code: def is_done(self, is_done: bool) -> None:
      self._is_done = is_done
  
imports: from dataclasses import dataclass, field, asdict
  from typing import Any, Dict, List, Iterator, Union
  from typing_extensions import Self
  import torch
  from mii.constants import GenerationFinishReason
  from mii.config import GenerateParamsConfig
label_desc: Use image node_id 11 for calling the Request obj's underlying member method code with example usage: obj.is_done(is_done) without return types