class_docstr: Manage state related to controlling Bokeh output.
  
      
code: def __init__(self) -> None:
      self.last_comms_handle = None
      self.uuid_to_server = {}  # Mapping from uuid to server instance
      self.reset()
  
imports: from __future__ import annotations
  import logging
  import os
  from dataclasses import dataclass
  from typing import TYPE_CHECKING, cast
  from ..core.types import PathLike
  from ..document import Document
  from ..resources import Resources, ResourcesMode
label_desc: Use image node_id 1 to create a new State object  with example: obj = State()