code: public boolean isInProgress(RequestCycle cycle)
  	{
  		Boolean inProgress = cycle.getMetaData(IN_PROGRESS_KEY);
  		return inProgress!=null?inProgress:false;
  	}
docs: Is current 'transaction' in progress?
  @param cycle {@link RequestCycle}
  @return true - if we are within a transaction, false - if not