input: Write a function to store a user's contacts in a MongoDB database using Python.
  assert store_contact({"name": "Alice", "phone": "1234567890"}) == True
  assert store_contact({"name": "Bob", "phone": "0987654321"}) == True
  assert store_contact({"name": "Charlie", "phone": "5555555555"}) == True
output: def store_contact(contact):
      from pymongo import MongoClient
  
      # Connect to the MongoDB server
      client = MongoClient("mongodb://localhost:27017/")
  
      # Access the database
      db = client["contacts_db"]
  
      # Access the collection
      contacts_collection = db["contacts"]
  
      # Insert the contact into the collection
      result = contacts_collection.insert_one(contact)
  
      # Close the connection
      client.close()
  
      # Return True if the contact was inserted successfully
      return result.acknowledged