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. Return True if it's possible, otherwise return False.
  assert create_table_of_contents(True, True, True)==True
  assert create_table_of_contents(True, True, False)==False
  assert create_table_of_contents(False, True, True)==True
  assert create_table_of_contents(False, False, True)==True
  assert create_table_of_contents(True, False, False)==False
output: def create_table_of_contents(has_data, has_access, has_template):
      return (has_data and has_access) or has_template