4-1: Final Project Milestone One:1)Develop a function tocrecollection “inspections.” Ba.Input -> argument tacceptable tothe MongoDb. return -> True if suc2)Develop a function torea“inspections.” Be sure it ca. Input -> arguments to theMongoDB driver find b. return -> result in JSO3)Develop a function toupdcollection “inspections.” Ba. Input -> arguments to fMongoDB driver find APthe data type acceptable tob. return -> result in JSONe: Implementing CRUD Operations in Pythoneatea document in the MongoDB database “cityBe sure it can handle error conditionsgracefully.to function will be set of key/value pairs in the dDB driver insert API callccessful insert else False (require a screenshot)ada document in the MongoDB database “city” can handle error conditions gracefully.o function should be the key/value lookup pair to