public static boolean isTerminationSuccess(HttpServletRequest request){
  String status=request.getParameter(IFSConstants.TERMINATION_STATUS);
  if (status == null || status.equalsIgnoreCase(IFSConstants.TERMINATION_SUCCESS)) {
    return true;
  }
 else {
    return false;
  }
}

public static boolean isTerminationSuccess ( HttpServletRequest request ) { String status = request . getParameter ( IFSConstants . TERMINATION_STATUS ) ; if ( status == null || status . equalsIgnoreCase ( IFSConstants . TERMINATION_SUCCESS ) ) { return true ; } else { return false ; } }
returns true if termination succeeds .
