docs: def _only_if_file_not_exist(func_, *args, **kwargs):
      """
      horribly non-atomic
  
      :param func_:
      :param args:
      :param kwargs:
      :return:
      """
      obj_dict = args[1]
      conn = args[-1]
      try:
          RBF.get(obj_dict[PRIMARY_FIELD]).pluck(PRIMARY_FIELD).run(conn)
          err_str = "Duplicate primary key `Name`: {}".format(obj_dict[PRIMARY_FIELD])
          err_dict = {'errors': 1,
                      'first_error':  err_str}
          return err_dict
      except r.errors.ReqlNonExistenceError:
          return func_(*args, **kwargs)