public boolean isValidSavepoint(Savepoint sp){
  if (isSource())   return false;
  boolean result=false;
  if (sp != null)   result=true;
  return result;
}

public boolean isValidSavepoint ( Savepoint sp ) { if ( isSource ( ) ) return false ; boolean result = false ; if ( sp != null ) result = true ; return result ; }
checks whether a savepoint is valid
