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. The function should return True if it is possible to display the table of contents using the given technologies, and False otherwise.
  assert create_table_of_contents("HTML", "CSS", "JavaScript", "PHP")==True
  assert create_table_of_contents("HTML", "CSS", "JavaScript", "Python")==True
  assert create_table_of_contents("HTML", "CSS", "JavaScript", "Ruby")==False
  assert create_table_of_contents("", "", "", "")==False
  assert create_table_of_contents("", "CSS", "JavaScript", "PHP")==False
output: def create_table_of_contents(html, css, js, backend):
      return bool(html and css and js and (backend in ["PHP", "Python"]))