input: Write a function to check if it is possible to create an HTML page that displays a table of contents from the data stored in a database. If it is possible, return True, otherwise return False. If no database data are provided, return False. Ensure the function handles both structured and unstructured data.
  
  assert create_table_of_contents([])==False
  assert create\_table\_of_contents(['Chapter1: Introduction', 'Chapter2: Basics', 'Chapter3: Advanced Concepts'])==True
  assert create\_table\_of\_contents(['Random data', 'More data', 'Yet more data'])==False
output: def create_table_of_contents(data):
      if not data:
          return False
      for item in data:
          if ':' in item:
              return True
      return False