PHP7 inserts data into mongodb, how do you judge whether it succeeded?