'Alert when elb logging is not enabled'

def check_logging(self, elb_item):

    logging = elb_item.config.get('Attributes', {}).get('AccessLog', {})
    if (not logging):
        self.add_issue(1, 'ELB    is    not    configured    for    logging.', elb_item)
        return
    if (not logging.get('Enabled')):
        self.add_issue(1, 'ELB    is    not    configured    for    logging.', elb_item)
        return
