Adding method to determine if an alert type is enabled.