code: def session_id_decode_from_str(session_id_str: str) -> bytes:
      return base64.urlsafe_b64decode(session_id_str.encode("ascii"))
  
imports: from typing import Optional, Dict, Tuple
  import base64
  import collections.abc
  import os
  import json
  import logging
  from hailtop.config import get_deploy_config
  from hailtop.utils import first_extant_file
label_desc: Use image node_id 2 for calling a global function with example usage: session_id_decode_from_str(session_id_str) and returns: base64