code: def is_valid_uid(maybe_uid: str) -> bool:
      """An uid must contain a string expert type, followed by one or more .-separated numeric indices"""
      return bool(UID_PATTERN.fullmatch(maybe_uid))
  
imports: from __future__ import annotations
  import re
  from typing import NamedTuple, Tuple, Union
  from hivemind.p2p import PeerID
label_desc: Use image node_id 1 for calling a global function with example usage: is_valid_uid(maybe_uid) and returns: bool