input: 
  from typing import List
  
  def can_create_table_of_contents(databases: List[str], tech_stack: List[str]) -> bool:
      """
      Determine if it is possible to create a HTML page that displays a table of contents
      from the data stored in one of the given databases using the provided tech stack.
      The tech stack must include HTML, CSS, and a server-side language that can query the
      database and retrieve data (e.g., PHP, Python).
      
      >>> can_create_table_of_contents(['MySQL', 'MongoDB'], ['HTML', 'CSS', 'JavaScript', 'Python'])
      True
      >>> can_create_table_of_contents(['PostgreSQL', 'SQLite'], ['React', 'Node.js'])
      False
      """
      required_tech = {'HTML', 'CSS'}
      server_side_languages = {'PHP', 'Python'}
      tech_set = set(tech_stack)
      
      if not required_tech.issubset(tech_set):
          return False
      
      for tech in server_side_languages:
          if tech in tech_set:
              return True
      
      return False
  
output:     
      for db in databases:
          if db in ['MySQL', 'PostgreSQL', 'SQLite', 'MongoDB']:
              return True
      
      return False
  