code: def init_pages_state():
      """Clear all global state that is used by pages feature."""
      dash._pages.PAGE_REGISTRY.clear()
      dash._pages.CONFIG.clear()
      dash._pages.CONFIG.__dict__.clear()
  
imports: import os
  import pytest
  import dash
  from dash._configs import DASH_ENV_VARS
label_desc: Use image node_id 3 for calling a global function with example usage: init_pages_state() without return types