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 given database is empty then return True.
  
  assert create_table_of_contents_page(True, True, True)==True
  assert create_table_of_contents_page(True, False, True)==False
  assert create_table_of_contents_page(False, True, True)==False
  assert create_table_of_contents_page(False, False, False)==False
  assert create_table_of_contents_page(True, True, False)==True
output: def create_table_of_contents_page(has_data, has_titles, has_links):
      if not has_data:
          return False
      if has_titles and has_links:
          return True
      return False