public boolean getEnabled() {
    return !Objects.equals(enabled, 0);
  }
Gets whether this alert definition is enabled. Disabling an alert
definition will prevent agents from scheduling the alerts. No alerts will
be triggered and no alert data will be collected.

@return {@code true} if this alert definition is enabled, {@code false}
otherwise.
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertDefinitionEntity.java