code: def running_as_root() -> bool:
      if not Platform.windows():
          return os.geteuid() == 0
      else:
          # stdlib
          import ctypes
  
          return ctypes.windll.shell32.IsUserAnAdmin() == 1
  
imports: import argparse
  from functools import cached_property
  import os
  from pathlib import Path
  import platform
  import re
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: running_as_root() and returns: unknown, unknown