private boolean hasValues(Entity e) {
   return !EntityUtils.isEmpty(e);
 }