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 "Yes" else return "No". 
  
  assert can_create_table_of_contents("simple database") == "Yes"
  assert can_create_table_of_contents("complex database structure") == "Yes"
  assert can_create_table_of_contents("") == "No"
  assert can_create_table_of_contents("no relevant data") == "No"
  assert can_create_table_of_contents(None) == "No"
output: def can_create_table_of_contents(database):
      if not database or "no relevant data" in database or database is None:
          return "No"
      return "Yes"