public static boolean isFederationCancelled(HttpServletRequest request){
  String status=request.getParameter(IFSConstants.TERMINATION_STATUS);
  if (status != null && status.equalsIgnoreCase(IFSConstants.CANCEL)) {
    return true;
  }
 else {
    return false;
  }
}

public static boolean isFederationCancelled ( HttpServletRequest request ) { String status = request . getParameter ( IFSConstants . TERMINATION_STATUS ) ; if ( status != null && status . equalsIgnoreCase ( IFSConstants . CANCEL ) ) { return true ; } else { return false ; } }
returns true if federation is cancelled .
