code: def caching_data_exist_in_dict(self, sql_query, graph_type):
      if graph_type == "feature_importance":
          if sql_query in self.feature_importance:
              return True, self.feature_importance[sql_query]
          return False, None
      elif graph_type == "pdp":
          if sql_query in self.pdp:
              return True, self.pdp[sql_query]
          return False, None
      elif graph_type == "summary_plot":
          if sql_query in self.summary_plot:
              return True, self.summary_plot[sql_query]
          return False, None
      elif graph_type == "feature_impact":
          if sql_query in self.feature_impact:
              return True, self.feature_impact[sql_query]
          return False, None
      elif graph_type == "multi_level_eda":
          if sql_query in self.multi_level_eda:
              return True, self.multi_level_eda[sql_query]
          return False, None
      elif graph_type == "filtered_df":
          if sql_query in self.query_dict:
              return True, self.query_dict[sql_query]
          return False, None
  
imports: from imports import *
  from plotly_graphs import *
  from protodash import *
  from insights import *
  from plotly_css import *
  import pandasql
  import string
  import random
  import os
  from apps import global_explanation, local_explanation, distribution, feature_interaction, cohort
  from app import app
  from what_if import *
  from calculate_shap import *
  from analytics import Analytics
  from cohort_analysis import *
label_desc: Use image node_id 4 for calling the dashboard obj's underlying member method code with example usage: obj.caching_data_exist_in_dict(sql_query, graph_type) and returns: False,  None, True,  self, False,  None, True,  self, False,  None, True,  self, False,  None, True,  self, False,  None, True,  self, False,  None, True,  self