input: Write a function to implement a Flask application that allows users to submit form data containing Name, Email, and Phone, and stores this information in an SQLite database. The application should handle the form submission via a POST request and redirect the user back to the home page after submission. If the process is successful, the function should return True; otherwise, it should return False. If no data is submitted, the function should return True.
  assert submit_form_data("John Doe", "john@example.com", "1234567890") == True
  assert submit_form_data("Jane Smith", "jane@example.com", "0987654321") == True
  assert submit_form_data("", "", "") == True
  assert submit_form_data(None, None, None) == True
output: def submit_form_data(name, email, phone):
      if not name and not email and not phone:
          return True
      
      try:
          conn = sqlite3.connect('form_data.db')
          cursor = conn.cursor()
          cursor.execute('''
              CREATE TABLE IF NOT EXISTS users (
                  id INTEGER PRIMARY KEY AUTOINCREMENT,
                  name TEXT,
                  email TEXT,
                  phone TEXT
              )
          ''')
          cursor.execute('''
              INSERT INTO users (name, email, phone)
              VALUES (?, ?, ?)
          ''', (name, email, phone))
          conn.commit()
          conn.close()
          return True
      except Exception as e:
          return False