protected static boolean networkMonitorExist(String nwMonName){
  String classMethod="OpenSSOMonitoringUtil.networkMonitorExist: ";
  if (debug.messageEnabled()) {
    debug.message(classMethod + "checking " + nwMonName);
  }
  if ((nwMonName == null) || (nwMonName.length() == 0)) {
    if (debug.warningEnabled()) {
      debug.warning(classMethod + "isNull");
    }
    return false;
  }
  Set<String> ntwStats=NetworkMonitor.getInstanceNames();
  String ss=nwMonName.toLowerCase();
  if (ntwStats.contains(ss)) {
    return true;
  }
 else {
    return false;
  }
}

protected static boolean networkMonitorExist ( String nwMonName ) { String classMethod = "OpenSSOMonitoringUtil.networkMonitorExist: " ; if ( debug . messageEnabled ( ) ) { debug . message ( classMethod + "checking " + nwMonName ) ; } if ( ( nwMonName == null ) || ( nwMonName . length ( ) == 0 ) ) { if ( debug . warningEnabled ( ) ) { debug . warning ( classMethod + "isNull" ) ; } return false ; } Set < String > ntwStats = NetworkMonitor . getInstanceNames ( ) ; String ss = nwMonName . toLowerCase ( ) ; if ( ntwStats . contains ( ss ) ) { return true ; } else { return false ; } }
return whether the specified network monitor has been instantiated in the entitlements service yet
