class CloudWatchRaiderImpl implements CloudWatchRaider {

    @Override
    public boolean isStateInAlarm(String alarmName) {
        return !getCloudWatchAlarmByName(alarmName)
                .stream()
                .filter(x -> x.getStateValue().equalsIgnoreCase("ALARM"))
                .collect(Collectors.toList())
                .isEmpty();
    }

    public  CloudWatchRaiderImpl();

}