code: public boolean exitsMongoDbDataBase(String dataBaseName) {
          List<String> dataBaseList = mongoClient.getDatabaseNames();
          return dataBaseList.contains(dataBaseName);
      }
docs: Checks if a database exists in MongoDB.
  
  @param dataBaseName
  @return boolean