docs: public boolean isTransient(DbEntity dbEntity) {
      CachedDbEntity cachedDbEntity = getCachedEntity(dbEntity);
      if(cachedDbEntity == null) {
        return false;
      } else {
        return cachedDbEntity.getEntityState() == TRANSIENT;
      }
    }