'alert when a public zone has private records.'

def check_for_public_zone_with_private_records(self, route53_item):

    if (not route53_item.config.get('zoneprivate')):
        for r in route53_item.config.get('records'):
            for regex in self.internal_record_regex:
                if re.match(regex, str(r)):
                    notes = ',    '.join(route53_item.config.get('records'))
                    self.add_issue(1, 'Route53    public    zone    contains    private    record.', route53_item, notes=notes)
            try:
                if check_rfc_1918(r):
                    notes = ',    '.join(route53_item.config.get('records'))
                    self.add_issue(1, 'Route53    public    zone    contains    private    record.', route53_item, notes=notes)
            except:
                pass
