input: Write a function to determine if it is possible to create a HTML page that displays a table of contents from the data stored in a database. If it is possible, return "Yes" else return "No". If the input data is empty then return "Yes".
  
  assert create_table_of_contents("") == "Yes"
  assert create_table_of_contents("JSON data") == "Yes"
  assert create_table_of_contents("Invalid database schema") == "No"
output: def create_table_of_contents(data):
      if not data:
          return "Yes"
      elif "JSON data" in data:
          return "Yes"
      else:
          return "No"