public boolean isCommitted() {
   return phase.equals(PHASE.committed);
 }
 public boolean isLoggined() {
   return phase.equals(PHASE.logined) || phase.equals(PHASE.committed);
 }