private boolean isAddToLoadBalancerSuspended(String asgAccountId, String asgName) {
        AutoScalingGroup asg;
        if(asgAccountId == null || asgAccountId.equals(accountId)) {
            asg = retrieveAutoScalingGroup(asgName);
        } else {
            asg = retrieveAutoScalingGroupCrossAccount(asgAccountId, asgName);
        }
        if (asg == null) {
            logger.warn("The ASG information for {} could not be found. So returning false.", asgName);
            return false;
        }
        return isAddToLoadBalancerSuspended(asg);
    }
private boolean isAddToLoadBalancerSuspended ( String asgAccountId , String asgName ) { AutoScalingGroup asg ; if ( asgAccountId == null || asgAccountId . equals ( accountId ) ) { asg = retrieveAutoScalingGroup ( asgName ) ; } else { asg = retrieveAutoScalingGroupCrossAccount ( asgAccountId , asgName ) ; } if ( asg == null ) { logger . warn ( "The ASG information for {} could not be found. So returning false." , asgName ) ; return false ; } return isAddToLoadBalancerSuspended ( asg ) ; }
Check if the ASG is disabled. The amazon flag "AddToLoadBalancer" is
queried to figure out if it is or not.

@param asgName
- The name of the ASG for which the status needs to be queried
@return - true if the ASG is disabled, false otherwise