code: def check_if_cached():
      global cache_was_hit
      cache_was_hit = False
  
imports: import random
  import streamlit
  from streamlit import config
label_desc: Use image node_id 1 for calling a global function with example usage: check_if_cached() without return types