input: Write a function to check if it is possible to create an HTML page that displays a table of contents from data stored in a database. If it is possible, return "Yes" along with an explanation, else return "No". You can use HTML, CSS, JavaScript for front-end, and server-side languages like PHP or Python to connect to the database and fetch data.
  assert create_toc_page(True)=="Yes, it is possible to create a HTML page that displays a table of contents from the data stored in a database. You can use HTML, CSS, and JavaScript to create the table and a server-side language such as PHP or Python to query the database and retrieve the relevant data."
  assert create_toc_page(False)=="No"
output: def create_toc_page(is_possible):
      if is_possible:
          return "Yes, it is possible to create a HTML page that displays a table of contents from the data stored in a database. You can use HTML, CSS, and JavaScript to create the table and a server-side language such as PHP or Python to query the database and retrieve the relevant data."
      else:
          return "No"