input: Write a python function to insert products into a SQLite database if they do not already exist.
  assert insert_products([{'name': 'Apple', 'price': 1.0, 'quantity': 50}, {'name': 'Banana', 'price': 0.5, 'quantity': 100}]) == True
  assert insert_products([{'name': 'Apple', 'price': 1.0, 'quantity': 50}]) == False
  assert insert_products([{'name': 'Orange', 'price': 1.2, 'quantity': 80}]) == True
output: import sqlite3
  
  def insert_products(products):
      conn = sqlite3.connect(':memory:')
      cursor = conn.cursor()
      
      # Create table
      cursor.execute('''CREATE TABLE IF NOT EXISTS products
                        (name TEXT PRIMARY KEY, price REAL, quantity INTEGER)''')
  
      success = False
      
      for product in products:
          cursor.execute("SELECT name FROM products WHERE name=?", (product['name'],))
          if cursor.fetchone() is None:
              cursor.execute("INSERT INTO products (name, price, quantity) VALUES (?, ?, ?)", 
                             (product['name'], product['price'], product['quantity']))
              success = True
      
      conn.commit()
      conn.close()
      
      return success