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 True else return False. If the input is incomplete or not applicable then return False.
  assert create_table_of_contents(True, "MySQL")==True
  assert create_table_of_contents(True, "SQLite")==True
  assert create_table_of_contents(False, "PostgreSQL")==False
  assert create_table_of_contents(True, None)==False
  assert create_table_of_contents(False, None)==False
output: def create_table_of_contents(data_available, db_type):
      if data_available and db_type in ["MySQL", "SQLite"]:
          return True
      return False