public boolean isAlertDefinitionCreated(StatAlertDefinition alertDefinition){
synchronized (ALERT_DEFINITIONS) {
    return ALERT_DEFINITIONS.containsKey(Integer.valueOf(alertDefinition.getId()));
  }
}

public boolean isAlertDefinitionCreated ( StatAlertDefinition alertDefinition ) { synchronized ( ALERT_DEFINITIONS ) { return ALERT_DEFINITIONS . containsKey ( Integer . valueOf ( alertDefinition . getId ( ) ) ) ; } }
convenience method to check whether an alert definition is created .
