input: Write a function to determine if it is possible to create an HTML page that displays a table of contents from the data stored in a database. The function should return True if it is possible, otherwise it should return False. If the input is empty, the function should return True.
  assert create_toc_page(True, True, True)==True
  assert create_toc_page(True, False, False)==False
  assert create_toc_page(False, True, True)==True
  assert create_toc_page(False, False, True)==True
  assert create_toc_page(False, False, False)==False
  assert create_toc_page(False, False, False, database_available=False)==False
output: def create_toc_page(has_title, has_content, has_links, database_available=True):
      if not database_available:
          return False
      if not has_title and not has_content and not has_links:
          return False
      return True