in source/lambda/shared/elb_load_monitor/alb_listener_rules_handler.py [0:0]
def is_sheddable(self, source_group_arn: str, max_shed_weight: int) -> bool:
for elb_rule in self.elb_rules:
if elb_rule.is_sheddable(source_group_arn, max_shed_weight):
return True
return False