code: private boolean addBrandNewObject(DBObject dbObj) {
          if (Utils.isEmpty(dbObj.getObjectID())) {
              dbObj.setObjectID(Utils.base64FromBinary(IDGenerator.nextID()));
          }
          checkForNewShard(dbObj);
          for (String fieldName : dbObj.getUpdatedFieldNames()) {
              FieldUpdater fieldUpdater = FieldUpdater.createFieldUpdater(this, dbObj, fieldName);
              fieldUpdater.addValuesForField();
          }
          return true;
      }
docs: Add new object to the database.